|
rippled
0.24.0-rc1
Reference implementation of the Ripple Protocol
|
Namespaces | |
| anon | |
| crc32c | |
| log | |
| port | |
| stl_wrappers | |
| test | |
Typedefs | |
| typedef uint64_t | Key |
| typedef std::vector < std::unique_ptr< LogFile > > | VectorLogPtr |
| typedef uint64_t | SequenceNumber |
| typedef std::priority_queue < IteratorWrapper *, std::vector < IteratorWrapper * > , MaxIteratorComparator > | MaxIterHeap |
| typedef std::priority_queue < IteratorWrapper *, std::vector < IteratorWrapper * > , MinIteratorComparator > | MinIterHeap |
| typedef std::map< std::string, std::string, anon::STLLessThan > | KVMap |
Functions | |
| TableBuilder * | GetTableBuilder (const Options &options, WritableFile *file, CompressionType compression_type) |
| Status | BuildTable (const std::string &dbname, Env *env, const Options &options, const EnvOptions &soptions, TableCache *table_cache, Iterator *iter, FileMetaData *meta, const Comparator *user_comparator, const SequenceNumber newest_snapshot, const SequenceNumber earliest_seqno_in_memtable, const bool enable_compression) |
| TEST (CorruptionTest, Recovery) | |
| TEST (CorruptionTest, RecoverWriteError) | |
| TEST (CorruptionTest, NewFileErrorDuringWrite) | |
| TEST (CorruptionTest, TableFile) | |
| TEST (CorruptionTest, TableFileIndexData) | |
| TEST (CorruptionTest, MissingDescriptor) | |
| TEST (CorruptionTest, SequenceNumberRecovery) | |
| TEST (CorruptionTest, CorruptedDescriptor) | |
| TEST (CorruptionTest, CompactionInputError) | |
| TEST (CorruptionTest, CompactionInputErrorParanoid) | |
| TEST (CorruptionTest, UnrelatedKeys) | |
| static void | AppendWithSpace (std::string *str, Slice msg) |
| void | dumpLeveldbBuildVersion (Logger *log) |
| template<class T , class V > | |
| static void | ClipToRange (T *ptr, V minvalue, V maxvalue) |
| Options | SanitizeOptions (const std::string &dbname, const InternalKeyComparator *icmp, const InternalFilterPolicy *ipolicy, const Options &src) |
| CompressionType | GetCompressionType (const Options &options, int level, const bool enable_compression) |
| Status | DestroyDB (const std::string &dbname, const Options &options) |
| Iterator * | NewDBIterator (const std::string *dbname, Env *env, const Options &options, const Comparator *user_key_comparator, Iterator *internal_iter, const SequenceNumber &sequence) |
| std::shared_ptr< Statistics > | CreateDBStatistics () |
| static bool | SnappyCompressionSupported (const CompressionOptions &options) |
| static bool | ZlibCompressionSupported (const CompressionOptions &options) |
| static bool | BZip2CompressionSupported (const CompressionOptions &options) |
| static std::string | RandomString (Random *rnd, int len) |
| static std::string | Key (int i) |
| TEST (DBTest, Empty) | |
| TEST (DBTest, ReadWrite) | |
| TEST (DBTest, IndexAndFilterBlocksOfNewTableAddedToCache) | |
| TEST (DBTest, LevelLimitReopen) | |
| TEST (DBTest, Preallocation) | |
| TEST (DBTest, PutDeleteGet) | |
| TEST (DBTest, GetFromImmutableLayer) | |
| TEST (DBTest, GetFromVersions) | |
| TEST (DBTest, GetSnapshot) | |
| TEST (DBTest, GetLevel0Ordering) | |
| TEST (DBTest, GetOrderedByLevels) | |
| TEST (DBTest, GetPicksCorrectFile) | |
| TEST (DBTest, GetEncountersEmptyLevel) | |
| TEST (DBTest, KeyMayExist) | |
| TEST (DBTest, NonBlockingIteration) | |
| TEST (DBTest, FilterDeletes) | |
| TEST (DBTest, IterEmpty) | |
| TEST (DBTest, IterSingle) | |
| TEST (DBTest, IterMulti) | |
| TEST (DBTest, IterReseek) | |
| TEST (DBTest, IterSmallAndLargeMix) | |
| TEST (DBTest, IterMultiWithDelete) | |
| TEST (DBTest, IterPrevMaxSkip) | |
| TEST (DBTest, IterWithSnapshot) | |
| TEST (DBTest, Recover) | |
| TEST (DBTest, RollLog) | |
| TEST (DBTest, WAL) | |
| TEST (DBTest, CheckLock) | |
| TEST (DBTest, FlushMultipleMemtable) | |
| TEST (DBTest, NumImmutableMemTable) | |
| TEST (DBTest, FLUSH) | |
| TEST (DBTest, RecoveryWithEmptyLog) | |
| TEST (DBTest, RecoverDuringMemtableCompaction) | |
| TEST (DBTest, MinorCompactionsHappen) | |
| TEST (DBTest, ManifestRollOver) | |
| TEST (DBTest, IdentityAcrossRestarts) | |
| TEST (DBTest, RecoverWithLargeLog) | |
| TEST (DBTest, CompactionsGenerateMultipleFiles) | |
| TEST (DBTest, CompactionTrigger) | |
| TEST (DBTest, UniversalCompactionTrigger) | |
| TEST (DBTest, UniversalCompactionSizeAmplification) | |
| TEST (DBTest, UniversalCompactionOptions) | |
| TEST (DBTest, ConvertCompactionStyle) | |
| void | MinLevelHelper (DBTest *self, Options &options) |
| bool | MinLevelToCompress (CompressionType &type, Options &options, int wbits, int lev, int strategy) |
| TEST (DBTest, MinLevelToCompress1) | |
| TEST (DBTest, MinLevelToCompress2) | |
| TEST (DBTest, RepeatedWritesToSameKey) | |
| TEST (DBTest, InPlaceUpdate) | |
| TEST (DBTest, CompactionFilter) | |
| TEST (DBTest, CompactionFilterWithValueChange) | |
| TEST (DBTest, SparseMerge) | |
| static bool | Between (uint64_t val, uint64_t low, uint64_t high) |
| TEST (DBTest, ApproximateSizes) | |
| TEST (DBTest, ApproximateSizes_MixOfSmallAndLarge) | |
| TEST (DBTest, IteratorPinsRef) | |
| TEST (DBTest, Snapshot) | |
| TEST (DBTest, HiddenValuesAreRemoved) | |
| TEST (DBTest, CompactBetweenSnapshots) | |
| TEST (DBTest, DeletionMarkers1) | |
| TEST (DBTest, DeletionMarkers2) | |
| TEST (DBTest, OverlapInLevel0) | |
| TEST (DBTest, L0_CompactionBug_Issue44_a) | |
| TEST (DBTest, L0_CompactionBug_Issue44_b) | |
| TEST (DBTest, ComparatorCheck) | |
| TEST (DBTest, CustomComparator) | |
| TEST (DBTest, ManualCompaction) | |
| TEST (DBTest, DBOpen_Options) | |
| TEST (DBTest, DBOpen_Change_NumLevels) | |
| TEST (DBTest, DestroyDBMetaDatabase) | |
| TEST (DBTest, NoSpace) | |
| TEST (DBTest, NonWritableFileSystem) | |
| TEST (DBTest, ManifestWriteError) | |
| TEST (DBTest, PutFailsParanoid) | |
| TEST (DBTest, FilesDeletedAfterCompaction) | |
| TEST (DBTest, BloomFilter) | |
| TEST (DBTest, SnapshotFiles) | |
| TEST (DBTest, CompactOnFlush) | |
| std::vector< std::uint64_t > | ListLogFiles (Env *env, const std::string &path) |
| TEST (DBTest, WALArchivalTtl) | |
| uint64_t | GetLogDirSize (std::string dir_path, SpecialEnv *env) |
| TEST (DBTest, WALArchivalSizeLimit) | |
| SequenceNumber | ReadRecords (std::unique_ptr< TransactionLogIterator > &iter, int &count) |
| void | ExpectRecords (const int expected_no_records, std::unique_ptr< TransactionLogIterator > &iter) |
| TEST (DBTest, TransactionLogIterator) | |
| TEST (DBTest, TransactionLogIteratorMoveOverZeroFiles) | |
| TEST (DBTest, TransactionLogIteratorJustEmptyFile) | |
| TEST (DBTest, TransactionLogIteratorCheckAfterRestart) | |
| TEST (DBTest, TransactionLogIteratorCorruptedLog) | |
| TEST (DBTest, TransactionLogIteratorBatchOperations) | |
| TEST (DBTest, TransactionLogIteratorBlobs) | |
| TEST (DBTest, ReadCompaction) | |
| TEST (DBTest, MultiThreaded) | |
| static std::string | RandomKey (Random *rnd, int minimum=0) |
| static bool | CompareIterators (int step, DB *model, DB *db, const Snapshot *model_snap, const Snapshot *db_snap) |
| TEST (DBTest, Randomized) | |
| TEST (DBTest, MultiGetSimple) | |
| TEST (DBTest, MultiGetEmpty) | |
| void | PrefixScanInit (DBTest *dbtest) |
| TEST (DBTest, PrefixScan) | |
| std::string | MakeKey (unsigned int num) |
| void | BM_LogAndApply (int iters, int num_base_files) |
| static uint64_t | PackSequenceAndType (uint64_t seq, ValueType t) |
| void | AppendInternalKey (std::string *result, const ParsedInternalKey &key) |
| size_t | InternalKeyEncodingLength (const ParsedInternalKey &key) |
| bool | ParseInternalKey (const Slice &internal_key, ParsedInternalKey *result) |
| Slice | ExtractUserKey (const Slice &internal_key) |
| ValueType | ExtractValueType (const Slice &internal_key) |
| void | UpdateInternalKey (char *internal_key, const size_t internal_key_size, uint64_t seq, ValueType t) |
| uint64_t | GetInternalKeySeqno (const Slice &internal_key) |
| static std::string | IKey (const std::string &user_key, uint64_t seq, ValueType vt) |
| static std::string | Shorten (const std::string &s, const std::string &l) |
| static std::string | ShortSuccessor (const std::string &s) |
| static void | TestKey (const std::string &key, uint64_t seq, ValueType vt) |
| TEST (FormatTest, InternalKey_EncodeDecode) | |
| TEST (FormatTest, InternalKeyShortSeparator) | |
| TEST (FormatTest, InternalKeyShortestSuccessor) | |
| TEST (DeleteFileTest, AddKeysAndQueryLevels) | |
| TEST (DeleteFileTest, PurgeObsoleteFilesTest) | |
| TEST (DeleteFileTest, DeleteFileWithIterator) | |
| TEST (DeleteFileTest, DeleteLogFiles) | |
| static int | FlattenPath (const std::string &path, char *dest, int len) |
| Status | WriteStringToFileSync (Env *env, const Slice &data, const std::string &fname) |
| static std::string | MakeFileName (const std::string &name, uint64_t number, const char *suffix) |
| std::string | LogFileName (const std::string &name, uint64_t number) |
| std::string | ArchivalDirectory (const std::string &dir) |
| std::string | ArchivedLogFileName (const std::string &name, uint64_t number) |
| std::string | TableFileName (const std::string &name, uint64_t number) |
| std::string | DescriptorFileName (const std::string &dbname, uint64_t number) |
| std::string | CurrentFileName (const std::string &dbname) |
| std::string | LockFileName (const std::string &dbname) |
| std::string | TempFileName (const std::string &dbname, uint64_t number) |
| std::string | InfoLogFileName (const std::string &dbname, const std::string &db_path, const std::string &log_dir) |
| std::string | OldInfoLogFileName (const std::string &dbname, uint64_t ts, const std::string &db_path, const std::string &log_dir) |
| std::string | MetaDatabaseName (const std::string &dbname, uint64_t number) |
| std::string | IdentityFileName (const std::string &dbname) |
| bool | ParseFileName (const std::string &fname, uint64_t *number, FileType *type, WalFileType *log_type) |
| Status | SetCurrentFile (Env *env, const std::string &dbname, uint64_t descriptor_number) |
| Status | SetIdentityFile (Env *env, const std::string &dbname) |
| TEST (FileNameTest, Parse) | |
| TEST (FileNameTest, Construction) | |
| static const char * | EncodeKey (std::string *scratch, const Slice &target) |
| std::shared_ptr< DB > | OpenDb () |
| TEST (PerfContextTest, SeekIntoDeletion) | |
| TEST (PerfContextTest, StopWatchNanoOverhead) | |
| TEST (PerfContextTest, StopWatchOverhead) | |
| void | ProfileKeyComparison () |
| TEST (PerfContextTest, KeyComparisonCount) | |
| TEST (PerfContextTest, SeekKeyComparison) | |
| Slice | TestKeyToSlice (const TestKey &test_key) |
| const TestKey * | SliceToTestKey (const Slice &slice) |
| TEST (PrefixTest, DynamicPrefixIterator) | |
| TEST (PrefixTest, PrefixHash) | |
| Status | RepairDB (const std::string &dbname, const Options &options) |
| TEST (SimpleTableDBTest, Empty) | |
| TEST (SimpleTableDBTest, ReadWrite) | |
| TEST (SimpleTableDBTest, Flush) | |
| TEST (SimpleTableDBTest, Flush2) | |
| static std::string | Key (int i) |
| static std::string | RandomString (Random *rnd, int len) |
| TEST (SimpleTableDBTest, CompactionTrigger) | |
| TEST (SkipTest, Empty) | |
| TEST (SkipTest, InsertAndLookup) | |
| TEST (SkipTest, ConcurrentWithoutThreads) | |
| static void | ConcurrentReader (void *arg) |
| static void | RunConcurrent (int run) |
| TEST (SkipTest, Concurrent1) | |
| TEST (SkipTest, Concurrent2) | |
| TEST (SkipTest, Concurrent3) | |
| TEST (SkipTest, Concurrent4) | |
| TEST (SkipTest, Concurrent5) | |
| static void | DeleteEntry (const Slice &key, void *value) |
| static void | UnrefEntry (void *arg1, void *arg2) |
| uint64_t | GetDeletedKeys (const TableProperties::UserCollectedProperties &props) |
| void | MakeBuilder (const Options &options, std::unique_ptr< FakeWritableFile > *writable, std::unique_ptr< TableBuilder > *builder) |
| void | OpenTable (const Options &options, const std::string &contents, std::unique_ptr< TableReader > *table_reader) |
| TEST (TablePropertiesTest, CustomizedTablePropertiesCollector) | |
| TEST (TablePropertiesTest, InternalKeyPropertiesCollector) | |
| static bool | GetInternalKey (Slice *input, InternalKey *dst) |
| static void | TestEncodeDecode (const VersionEdit &edit) |
| TEST (VersionEditTest, EncodeDecode) | |
| static uint64_t | TotalFileSize (const std::vector< FileMetaData * > &files) |
| int | FindFile (const InternalKeyComparator &icmp, const std::vector< FileMetaData * > &files, const Slice &key) |
| static bool | AfterFile (const Comparator *ucmp, const Slice *user_key, const FileMetaData *f) |
| static bool | BeforeFile (const Comparator *ucmp, const Slice *user_key, const FileMetaData *f) |
| bool | SomeFileOverlapsRange (const InternalKeyComparator &icmp, bool disjoint_sorted_files, const std::vector< FileMetaData * > &files, const Slice *smallest_user_key, const Slice *largest_user_key) |
| static Iterator * | GetFileIterator (void *arg, const ReadOptions &options, const EnvOptions &soptions, const Slice &file_value, bool for_compaction) |
| static void | MarkKeyMayExist (void *arg) |
| static bool | SaveValue (void *arg, const Slice &ikey, const Slice &v, bool didIO) |
| static bool | NewestFirst (FileMetaData *a, FileMetaData *b) |
| static bool | NewestFirstBySeqNo (FileMetaData *a, FileMetaData *b) |
| static bool | compareSizeDescending (const VersionSet::Fsize &first, const VersionSet::Fsize &second) |
| static bool | compareSeqnoDescending (const VersionSet::Fsize &first, const VersionSet::Fsize &second) |
| static void | InputSummary (std::vector< FileMetaData * > &files, char *output, int len) |
| TEST (FindFileTest, Empty) | |
| TEST (FindFileTest, Single) | |
| TEST (FindFileTest, Multiple) | |
| TEST (FindFileTest, MultipleNullBoundaries) | |
| TEST (FindFileTest, OverlapSequenceChecks) | |
| TEST (FindFileTest, OverlappingFiles) | |
| static std::string | PrintContents (WriteBatch *b) |
| TEST (WriteBatchTest, Empty) | |
| TEST (WriteBatchTest, Multiple) | |
| TEST (WriteBatchTest, Corruption) | |
| TEST (WriteBatchTest, Append) | |
| TEST (WriteBatchTest, Blob) | |
| TEST (WriteBatchTest, Continue) | |
| TEST (WriteBatchTest, PutGatherSlices) | |
| Env * | NewMemEnv (Env *base_env) |
| TEST (MemEnvTest, Basics) | |
| TEST (MemEnvTest, ReadWrite) | |
| TEST (MemEnvTest, Locks) | |
| TEST (MemEnvTest, Misc) | |
| TEST (MemEnvTest, LargeWrite) | |
| TEST (MemEnvTest, DBTest) | |
| shared_ptr< Cache > | NewLRUCache (size_t capacity) |
| shared_ptr< Cache > | NewLRUCache (size_t capacity, int numShardBits) |
| shared_ptr< Cache > | NewLRUCache (size_t capacity, int numShardBits, int removeScanCountLimit) |
| const Comparator * | BytewiseComparator () |
| void | LogFlush (const shared_ptr< Logger > &info_log) |
| void | Log (const shared_ptr< Logger > &info_log, const char *format,...) |
| void | LogFlush (Logger *info_log) |
| void | Log (Logger *info_log, const char *format,...) |
| Status | WriteStringToFile (Env *env, const Slice &data, const std::string &fname) |
| Status | ReadFileToString (Env *env, const std::string &fname, std::string *data) |
| const FilterPolicy * | NewBloomFilterPolicy (int bits_per_key) |
| Iterator * | NewEmptyIterator () |
| Iterator * | NewErrorIterator (const Status &status) |
| MemTableRepFactory * | NewHashSkipListRepFactory (const SliceTransform *transform, size_t bucket_count=1000000) |
| void | SetPerfLevel (PerfLevel level) |
| bool | operator== (const Slice &x, const Slice &y) |
| bool | operator!= (const Slice &x, const Slice &y) |
| const SliceTransform * | NewFixedPrefixTransform (size_t prefix_len) |
| const SliceTransform * | NewNoopTransform () |
| void | RecordTick (std::shared_ptr< Statistics > statistics, Tickers ticker, uint64_t count=1) |
| void | SetTickerCount (std::shared_ptr< Statistics > statistics, Tickers ticker, uint64_t count) |
| void | InstallStackTraceHandler () |
| static const char * | DecodeEntry (const char *p, const char *limit, uint32_t *shared, uint32_t *non_shared, uint32_t *value_length) |
| static void | DeleteCachedBlock (const Slice &key, void *value) |
| bool | SaveDidIO (void *arg, const Slice &key, const Slice &value, bool didIO) |
| static std::string | RandomString (Random *rnd, int len) |
| TEST (BlockTest, SimpleTest) | |
| TEST (FilterBlockTest, EmptyBuilder) | |
| TEST (FilterBlockTest, SingleChunk) | |
| TEST (FilterBlockTest, MultiChunk) | |
| Status | ReadBlockContents (RandomAccessFile *file, const ReadOptions &options, const BlockHandle &handle, BlockContents *result, Env *env, bool do_uncompress) |
| Status | UncompressBlockContents (const char *data, size_t n, BlockContents *result) |
| MaxIterHeap | NewMaxIterHeap (const Comparator *comparator) |
| MinIterHeap | NewMinIterHeap (const Comparator *comparator) |
| Iterator * | NewMergingIterator (const Comparator *cmp, Iterator **list, int n) |
| static std::string | MakeKey (int i, int j, bool through_db) |
| static bool | DummySaveValue (void *arg, const Slice &ikey, const Slice &v, bool didIO) |
| void | TableReaderBenchmark (Options &opts, EnvOptions &env_options, ReadOptions &read_options, int num_keys1, int num_keys2, int num_iter, int prefix_len, bool if_query_empty_keys, bool for_iterator, bool through_db) |
| static void | Increment (const Comparator *cmp, std::string *key) |
| static bool | SnappyCompressionSupported () |
| static bool | ZlibCompressionSupported () |
| static std::vector< TestArgs > | GenerateArgList () |
| TEST (Harness, SimpleEmptyKey) | |
| TEST (Harness, SimpleSingle) | |
| TEST (Harness, SimpleMulti) | |
| TEST (Harness, SimpleSpecialKey) | |
| static bool | Between (uint64_t val, uint64_t low, uint64_t high) |
| TEST (TableTest, BasicTableProperties) | |
| TEST (TableTest, FilterPolicyNameProperties) | |
| static std::string | RandomString (Random *rnd, int len) |
| TEST (TableTest, IndexSizeStat) | |
| TEST (TableTest, NumBlockStat) | |
| TEST (TableTest, BlockCacheTest) | |
| TEST (TableTest, ApproximateOffsetOfPlain) | |
| static void | Do_Compression_Test (CompressionType comp) |
| TEST (TableTest, ApproximateOffsetOfCompressed) | |
| TEST (TableTest, BlockCacheLeak) | |
| TEST (Harness, Randomized) | |
| TEST (Harness, RandomizedLongDB) | |
| TEST (MemTableTest, Simple) | |
| Iterator * | NewTwoLevelIterator (Iterator *index_iter, BlockFunction block_function, void *arg, const ReadOptions &options, const EnvOptions &soptions, bool for_compaction) |
| Iterator * | NewTwoLevelIterator (Iterator *index_iter, Iterator *(*block_function)(void *arg, const ReadOptions &options, const EnvOptions &soptions, const Slice &index_value, bool for_compaction), void *arg, const ReadOptions &options, const EnvOptions &soptions, bool for_compaction=false) |
| static std::string | Key (long val) |
| TEST (ReduceLevelTest, Last_Level) | |
| TEST (ReduceLevelTest, Top_Level) | |
| TEST (ReduceLevelTest, All_Levels) | |
| TEST (ArenaImplTest, Empty) | |
| TEST (ArenaImplTest, MemoryAllocatedBytes) | |
| TEST (ArenaImplTest, Simple) | |
| Status | CreateLoggerFromOptions (const std::string &dbname, const std::string &db_log_dir, Env *env, const Options &options, std::shared_ptr< Logger > *logger) |
| void | LogMessage (Logger *logger, const char *message) |
| void | GetFileCreateTime (const std::string &fname, uint64_t *file_ctime) |
| TEST (AutoRollLoggerTest, RollLogFileBySize) | |
| TEST (AutoRollLoggerTest, RollLogFileByTime) | |
| TEST (AutoRollLoggerTest, OpenLogFilesMultipleTimesWithOptionLog_max_size) | |
| TEST (AutoRollLoggerTest, CompositeRollByTimeAndSizeLogger) | |
| TEST (AutoRollLoggerTest, CreateLoggerFromOptions) | |
| int | OldLogFileCount (const string &dir) |
| TEST (BlobStoreTest, RangeParseTest) | |
| TEST (BlobStoreTest, SanityTest) | |
| TEST (BlobStoreTest, FragmentedChunksTest) | |
| TEST (BlobStoreTest, CreateAndStoreTest) | |
| TEST (BlobStoreTest, MaxSizeTest) | |
| static Slice | Key (int i, char *buffer) |
| TEST (BloomTest, EmptyFilter) | |
| TEST (BloomTest, Small) | |
| static int | NextLength (int length) |
| TEST (BloomTest, VaryingLengths) | |
| static std::string | EncodeKey (int k) |
| static int | DecodeKey (const Slice &k) |
| static void * | EncodeValue (uintptr_t v) |
| static int | DecodeValue (void *v) |
| TEST (CacheTest, HitAndMiss) | |
| TEST (CacheTest, Erase) | |
| TEST (CacheTest, EntriesArePinned) | |
| TEST (CacheTest, EvictionPolicy) | |
| TEST (CacheTest, EvictionPolicyRef) | |
| TEST (CacheTest, EvictionPolicyRef2) | |
| TEST (CacheTest, EvictionPolicyRefLargeScanLimit) | |
| TEST (CacheTest, HeavyEntries) | |
| TEST (CacheTest, NewId) | |
| void | deleter (const Slice &key, void *value) |
| TEST (CacheTest, BadEviction) | |
| void | EncodeFixed32 (char *buf, uint32_t value) |
| void | EncodeFixed64 (char *buf, uint64_t value) |
| void | PutFixed32 (std::string *dst, uint32_t value) |
| void | PutFixed64 (std::string *dst, uint64_t value) |
| char * | EncodeVarint32 (char *dst, uint32_t v) |
| void | PutVarint32 (std::string *dst, uint32_t v) |
| char * | EncodeVarint64 (char *dst, uint64_t v) |
| void | PutVarint64 (std::string *dst, uint64_t v) |
| void | PutLengthPrefixedSlice (std::string *dst, const Slice &value) |
| void | PutLengthPrefixedSliceParts (std::string *dst, const SliceParts &slice_parts) |
| int | VarintLength (uint64_t v) |
| const char * | GetVarint32PtrFallback (const char *p, const char *limit, uint32_t *value) |
| bool | GetVarint32 (Slice *input, uint32_t *value) |
| const char * | GetVarint64Ptr (const char *p, const char *limit, uint64_t *value) |
| bool | GetVarint64 (Slice *input, uint64_t *value) |
| const char * | GetLengthPrefixedSlice (const char *p, const char *limit, Slice *result) |
| bool | GetLengthPrefixedSlice (Slice *input, Slice *result) |
| Slice | GetLengthPrefixedSlice (const char *data) |
| void | BitStreamPutInt (char *dst, size_t dstlen, size_t offset, uint32_t bits, uint64_t value) |
| uint64_t | BitStreamGetInt (const char *src, size_t srclen, size_t offset, uint32_t bits) |
| void | BitStreamPutInt (std::string *dst, size_t offset, uint32_t bits, uint64_t value) |
| uint64_t | BitStreamGetInt (const std::string *src, size_t offset, uint32_t bits) |
| uint64_t | BitStreamGetInt (const Slice *src, size_t offset, uint32_t bits) |
| const char * | GetVarint32Ptr (const char *p, const char *limit, uint32_t *v) |
| uint32_t | DecodeFixed32 (const char *ptr) |
| uint64_t | DecodeFixed64 (const char *ptr) |
| TEST (Coding, Fixed32) | |
| TEST (Coding, Fixed64) | |
| TEST (Coding, EncodingOutput) | |
| TEST (Coding, Varint32) | |
| TEST (Coding, Varint64) | |
| TEST (Coding, Varint32Overflow) | |
| TEST (Coding, Varint32Truncation) | |
| TEST (Coding, Varint64Overflow) | |
| TEST (Coding, Varint64Truncation) | |
| TEST (Coding, Strings) | |
| TEST (Coding, BitStream) | |
| TEST (Coding, BitStreamConvenienceFuncs) | |
| static void | InitModule () |
| static Status | DoWriteStringToFile (Env *env, const Slice &data, const std::string &fname, bool should_sync) |
| static void | SetBool (void *ptr) |
| TEST (EnvPosixTest, RunImmediately) | |
| TEST (EnvPosixTest, RunMany) | |
| static void | ThreadBody (void *arg) |
| TEST (EnvPosixTest, StartThread) | |
| TEST (EnvPosixTest, TwoPools) | |
| bool | IsSingleVarint (const std::string &s) |
| TEST (EnvPosixTest, PosixRandomRWFileTest) | |
| TEST (LockTest, LockBySameThread) | |
| uint32_t | Hash (const char *data, size_t n, uint32_t seed) |
| maxBucketValue_ (bucketValues_.back()) | |
| minBucketValue_ (bucketValues_.front()) | |
| TEST (HistogramTest, BasicOperation) | |
| TEST (HistogramTest, EmptyHistogram) | |
| TEST (HistogramTest, ClearHistogram) | |
| null_from_ (true) | |
| null_to_ (true) | |
| create_if_missing_ (false) | |
| disable_wal_ (false) | |
| bulk_load_ (false) | |
| compact_ (false) | |
| verbose_ (false) | |
| path_ ("") | |
| string | ReadableTime (int unixtime) |
| void | IncBucketCounts (vector< uint64_t > &bucket_counts, int ttl_start, int time_range, int bucket_size, int timekv, int num_buckets) |
| void | PrintBucketCounts (const vector< uint64_t > &bucket_counts, int ttl_start, int ttl_end, int bucket_size, int num_buckets) |
| has_from_ (false) | |
| has_to_ (false) | |
| max_keys_ (-1) | |
| delim_ (".") | |
| count_only_ (false) | |
| count_delim_ (false) | |
| print_stats_ (false) | |
| is_input_key_hex_ (false) | |
| old_levels_ (1<< 16) | |
| new_levels_ (-1) | |
| print_old_levels_ (false) | |
| old_compaction_style_ (-1) | |
| new_compaction_style_ (-1) | |
| print_header_ (false) | |
| print_values_ (false) | |
| if (params.size()!=1) | |
| if (is_key_hex_) | |
| start_key_specified_ (false) | |
| end_key_specified_ (false) | |
| max_keys_scanned_ (-1) | |
| void | AppendNumberTo (std::string *str, uint64_t num) |
| void | AppendEscapedStringTo (std::string *str, const Slice &value) |
| std::string | NumberToString (uint64_t num) |
| std::string | EscapeString (const Slice &value) |
| bool | ConsumeChar (Slice *in, char c) |
| bool | ConsumeDecimalNumber (Slice *in, uint64_t *val) |
| void | StartPerfTimer (StopWatchNano *timer) |
| void | BumpPerfCount (uint64_t *count, uint64_t delta=1) |
| void | BumpPerfTime (uint64_t *time, StopWatchNano *timer, bool reset=true) |
| vector< string > | stringSplit (string arg, char delim) |
| std::shared_ptr< DB > | OpenNormalDb (char delim_char) |
| std::shared_ptr< DB > | OpenTtlDb (char delim_char) |
| TEST (StringAppendOperatorTest, IteratorTest) | |
| TEST (StringAppendOperatorTest, SimpleTest) | |
| TEST (StringAppendOperatorTest, SimpleDelimiterTest) | |
| TEST (StringAppendOperatorTest, OneValueNoDelimiterTest) | |
| TEST (StringAppendOperatorTest, VariousKeys) | |
| TEST (StringAppendOperatorTest, RandomMixGetAppend) | |
| TEST (StringAppendOperatorTest, BIGRandomMixGetAppend) | |
| TEST (StringAppendOperatorTest, PersistentVariousKeys) | |
| TEST (StringAppendOperatorTest, PersistentFlushAndCompaction) | |
| TEST (StringAppendOperatorTest, SimpleTestNullDelimiter) | |
| void | AssertListEq (const std::vector< std::string > &result, const std::vector< std::string > &expected_result) |
| TEST (RedisListsTest, SimpleTest) | |
| TEST (RedisListsTest, SimpleTest2) | |
| TEST (RedisListsTest, IndexTest) | |
| TEST (RedisListsTest, RangeTest) | |
| TEST (RedisListsTest, InsertTest) | |
| TEST (RedisListsTest, SetTest) | |
| TEST (RedisListsTest, InsertPushSetTest) | |
| TEST (RedisListsTest, TrimPopTest) | |
| TEST (RedisListsTest, RemoveTest) | |
| TEST (RedisListsTest, PersistenceMultiKeyTest) | |
| void | MakeUpper (std::string *const s) |
| int | manual_redis_test (bool destructive) |
| TEST (TtlTest, NoEffect) | |
| TEST (TtlTest, PresentDuringTTL) | |
| TEST (TtlTest, AbsentAfterTTL) | |
| TEST (TtlTest, ResetTimestamp) | |
| TEST (TtlTest, IterPresentDuringTTL) | |
| TEST (TtlTest, IterAbsentAfterTTL) | |
| TEST (TtlTest, MultiOpenSamePresent) | |
| TEST (TtlTest, MultiOpenSameAbsent) | |
| TEST (TtlTest, MultiOpenDifferent) | |
| TEST (TtlTest, ReadOnlyPresentForever) | |
| TEST (TtlTest, WriteBatchTest) | |
| TEST (TtlTest, CompactionFilter) | |
| TEST (TtlTest, KeyMayExist) | |
Variables | |
| static const int | kValueSize = 1000 |
| static int | cfilter_count |
| static std::string | NEW_VALUE = "NewValue" |
| static const ValueType | kValueTypeForSeek = kTypeMerge |
| static const SequenceNumber | kMaxSequenceNumber |
| static const std::string | ARCHIVAL_DIR = "archive" |
| static const size_t | kHeader = 12 |
| static const Status | notsup |
| static const int | kMajorVersion = 2 |
| static const int | kMinorVersion = 0 |
| __thread PerfContext | perf_context |
| const std::vector< std::pair < Tickers, std::string > > | TickersNameMap |
| const std::vector< std::pair < Histograms, std::string > > | HistogramsNameMap |
| const size_t | kMaxCacheKeyPrefixSize = kMaxVarint64Length*3+1 |
| static const size_t | kFilterBaseLg = 11 |
| static const size_t | kFilterBase = 1 << kFilterBaseLg |
| static const uint64_t | kTableMagicNumber = 0xdb4775248b80fb57ull |
| static const size_t | kBlockTrailerSize = 5 |
| static ReverseKeyComparator | reverse_key_comparator |
| static const int | kVerbose = 1 |
| const unsigned int | kMaxVarint32Length = 5 |
| const unsigned int | kMaxVarint64Length = 10 |
| static port::OnceType | once = LEVELDB_ONCE_INIT |
| static const Comparator * | bytewise |
| static const int | kDelayMicros = 100000 |
| else | |
| static const char *const | access_hints [] |
| PerfLevel | perf_level = kEnableCount |
| const int | kDebugLogChunkSize = 128 * 1024 |
| const std::string | kDbName = "/tmp/mergetestdb" |
Back-end implementation details specific to the Merge Operator.
A MergeOperator for rocksdb that implements string append.
A TEST MergeOperator for rocksdb that implements string append. It is built using the MergeOperator interface rather than the simpler AssociativeMergeOperator interface. This is useful for testing/benchmarking. While the two operators are semantically the same, all production code should use the StringAppendOperator defined in stringappend.{h,cc}. The operator defined in the present file is primarily for testing.
A simple structure for exceptions in RedisLists.
RedisListIterator: An abstraction over the "list" concept (e.g.: for redis lists). Provides functionality to read, traverse, edit, and write these lists.
Upon construction, the RedisListIterator is given a block of list data. Internally, it stores a pointer to the data and a pointer to current item. It also stores a "result" list that will be mutated over time.
Traversal and mutation are done by "forward iteration". The Push() and Skip() methods will advance the iterator to the next item. However, Push() will also "write the current item to the result". Skip() will simply move to next item, causing current item to be dropped.
Upon completion, the result (accessible by WriteResult()) will be saved. All "skipped" items will be gone; all "pushed" items will remain.
| Any | of the operations may throw a RedisListException if an invalid operation is performed or if the data is found to be corrupt. |
By default, if WriteResult() is called part-way through iteration, it will automatically advance the iterator to the end, and Keep() all items that haven't been traversed yet. This may be subject to review.
Can access the "current" item via GetCurrent(), and other list-specific information such as Length().
The internal representation is due to change at any time. Presently, the list is represented as follows:
A (persistent) Redis API built using the rocksdb backend. Implements Redis Lists as described on: http://redis.io/commands#list
| All | functions may throw a RedisListException on error/corruption. |
Internally, the set of lists is stored in a rocksdb database, mapping keys to values. Each "value" is the list itself, storing some kind of internal representation of the data. All the representation details are handled by the RedisListIterator class. The present file should be oblivious to the representation details, handling only the client (Redis) API, and the calls to rocksdb.
Presently, all operations take at least O(NV) time where N is the number of elements in the list, and V is the average number of bytes per value in the list. So maybe, with merge operator we can improve this to an optimal O(V) amortized time, since we wouldn't have to read and re-write the entire list.
A (persistent) Redis API built using the rocksdb backend. Implements Redis Lists as described on: http://redis.io/commands#list
| All | functions may throw a RedisListException |
| typedef uint64_t rocksdb::Key |
Definition at line 20 of file skiplist_test.cc.
| typedef std::map<std::string, std::string, anon::STLLessThan> rocksdb::KVMap |
Definition at line 159 of file table_test.cc.
| typedef std::priority_queue< IteratorWrapper*, std::vector<IteratorWrapper*>, MaxIteratorComparator> rocksdb::MaxIterHeap |
Definition at line 47 of file iter_heap.h.
| typedef std::priority_queue< IteratorWrapper*, std::vector<IteratorWrapper*>, MinIteratorComparator> rocksdb::MinIterHeap |
Definition at line 52 of file iter_heap.h.
| typedef uint64_t rocksdb::SequenceNumber |
| typedef std::vector<std::unique_ptr<LogFile> > rocksdb::VectorLogPtr |
Definition at line 17 of file transaction_log.h.
| Enumerator | |
|---|---|
| kCompactionStopStyleSimilarSize | |
| kCompactionStopStyleTotalSize | |
Definition at line 24 of file universal_compaction.h.
| enum rocksdb::CompactionStyle : char |
| enum rocksdb::CompressionType : char |
| enum rocksdb::FileType |
| Enumerator | |
|---|---|
| kLogFile | |
| kDBLockFile | |
| kTableFile | |
| kDescriptorFile | |
| kCurrentFile | |
| kTempFile | |
| kInfoLogFile | |
| kMetaDatabase | |
| kIdentityFile | |
Definition at line 24 of file filename.h.
| enum rocksdb::Histograms |
Keep adding histogram's here. Any histogram whould have value less than HISTOGRAM_ENUM_MAX Add a new Histogram by assigning it the current value of HISTOGRAM_ENUM_MAX Add a string representation in HistogramsNameMap below And increment HISTOGRAM_ENUM_MAX
Definition at line 165 of file statistics.h.
| enum rocksdb::PerfLevel |
| enum rocksdb::ReadTier |
| enum rocksdb::Tag |
| Enumerator | |
|---|---|
| kComparator | |
| kLogNumber | |
| kNextFileNumber | |
| kLastSequence | |
| kCompactPointer | |
| kDeletedFile | |
| kNewFile | |
| kPrevLogNumber | |
| kNewFile2 | |
Definition at line 19 of file version_edit.cc.
| enum rocksdb::TestType |
| Enumerator | |
|---|---|
| TABLE_TEST | |
| BLOCK_TEST | |
| MEMTABLE_TEST | |
| DB_TEST | |
Definition at line 478 of file table_test.cc.
| enum rocksdb::Tickers |
Keep adding ticker's here. Any ticker should have a value less than TICKER_ENUM_MAX. Add a new ticker by assigning it the current value of TICKER_ENUM_MAX Add a string representation in TickersNameMap below. And incrementing TICKER_ENUM_MAX.
Definition at line 26 of file statistics.h.
| enum rocksdb::ValueType |
| Enumerator | |
|---|---|
| kTypeDeletion | |
| kTypeValue | |
| kTypeMerge | |
| kTypeLogData | |
Definition at line 28 of file dbformat.h.
| enum rocksdb::WalFileType |
|
static |
Definition at line 81 of file version_set.cc.
References rocksdb::Comparator::Compare(), rocksdb::FileMetaData::largest, and rocksdb::InternalKey::user_key().
Referenced by SomeFileOverlapsRange().


| void rocksdb::AppendEscapedStringTo | ( | std::string * | str, |
| const Slice & | value | ||
| ) |
Definition at line 27 of file logging.cc.
References rocksdb::Slice::size().
Referenced by EscapeString().


| void rocksdb::AppendInternalKey | ( | std::string * | result, |
| const ParsedInternalKey & | key | ||
| ) |
Definition at line 24 of file dbformat.cc.
References rocksdb::Slice::data(), PackSequenceAndType(), PutFixed64(), rocksdb::ParsedInternalKey::sequence, rocksdb::Slice::size(), rocksdb::ParsedInternalKey::type, and rocksdb::ParsedInternalKey::user_key.
Referenced by IKey(), rocksdb::InternalKey::InternalKey(), rocksdb::KeyConvertingIterator::Seek(), and rocksdb::InternalKey::SetFrom().


| void rocksdb::AppendNumberTo | ( | std::string * | str, |
| uint64_t | num | ||
| ) |
Definition at line 21 of file logging.cc.
Referenced by rocksdb::VersionEdit::DebugString(), rocksdb::Version::DebugString(), rocksdb::TtlTest::MakeKVMap(), and NumberToString().

|
static |
Definition at line 528 of file db_bench.cc.
References rocksdb::Slice::data(), rocksdb::Slice::empty(), and rocksdb::Slice::size().
Referenced by rocksdb::Stats::AddMessage(), and rocksdb::Stats::Report().


| std::string rocksdb::ArchivalDirectory | ( | const std::string & | dir) |
Definition at line 65 of file filename.cc.
References ARCHIVAL_DIR.
Referenced by rocksdb::DBImpl::CreateArchivalDirectory(), DestroyDB(), rocksdb::DBImpl::GetSortedWalFiles(), rocksdb::DBImpl::PurgeObsoleteWALFiles(), and TEST().

| std::string rocksdb::ArchivedLogFileName | ( | const std::string & | name, |
| uint64_t | number | ||
| ) |
Definition at line 68 of file filename.cc.
References ARCHIVAL_DIR, and MakeFileName().
Referenced by rocksdb::DBImpl::CheckWalFileExistsAndEmpty(), rocksdb::TransactionLogIteratorImpl::OpenLogFile(), rocksdb::LogFileImpl::PathName(), rocksdb::DBImpl::PurgeObsoleteFiles(), and rocksdb::DBImpl::ReadFirstRecord().


| void rocksdb::AssertListEq | ( | const std::vector< std::string > & | result, |
| const std::vector< std::string > & | expected_result | ||
| ) |
|
static |
Definition at line 88 of file version_set.cc.
References rocksdb::Comparator::Compare(), rocksdb::FileMetaData::smallest, and rocksdb::InternalKey::user_key().
Referenced by SomeFileOverlapsRange().


Definition at line 789 of file table_test.cc.
Definition at line 2861 of file db_test.cc.
Referenced by Do_Compression_Test(), and TEST().

Definition at line 253 of file coding.cc.
Referenced by BitStreamGetInt(), BitStreamPutInt(), and TEST().

Definition at line 308 of file coding.cc.
References BitStreamGetInt().

Definition at line 313 of file coding.cc.
References BitStreamGetInt(), rocksdb::Slice::data(), and rocksdb::Slice::size().

| void rocksdb::BitStreamPutInt | ( | char * | dst, |
| size_t | dstlen, | ||
| size_t | offset, | ||
| uint32_t | bits, | ||
| uint64_t | value | ||
| ) |
Definition at line 220 of file coding.cc.
References BitStreamGetInt(), and value.
Referenced by BitStreamPutInt(), and TEST().


Definition at line 281 of file coding.cc.
References BitStreamGetInt(), BitStreamPutInt(), and value.

| void rocksdb::BM_LogAndApply | ( | int | iters, |
| int | num_base_files | ||
| ) |
Definition at line 4863 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, BytewiseComparator(), rocksdb::Options::create_if_missing, db, dbname, rocksdb::Env::Default(), rocksdb::VersionEdit::DeleteFile(), DestroyDB(), env, kTypeDeletion, kTypeValue, rocksdb::VersionSet::LogAndApply(), MakeKey(), mu, rocksdb::Env::NowMicros(), rocksdb::VersionSet::NumberLevels(), rocksdb::DB::Open(), rocksdb::VersionSet::Recover(), and rocksdb::test::TmpDir().
Referenced by main().


| Status rocksdb::BuildTable | ( | const std::string & | dbname, |
| Env * | env, | ||
| const Options & | options, | ||
| const EnvOptions & | soptions, | ||
| TableCache * | table_cache, | ||
| Iterator * | iter, | ||
| FileMetaData * | meta, | ||
| const Comparator * | user_comparator, | ||
| const SequenceNumber | newest_snapshot, | ||
| const SequenceNumber | earliest_seqno_in_memtable, | ||
| const bool | enable_compression | ||
| ) |
Definition at line 35 of file builder.cc.
References rocksdb::TableBuilder::Abandon(), rocksdb::TableBuilder::Add(), rocksdb::WritableFile::Close(), rocksdb::Comparator::Compare(), rocksdb::Options::compression, rocksdb::Slice::data(), rocksdb::InternalKey::DecodeFrom(), rocksdb::Env::DeleteFile(), rocksdb::Options::disableDataSync, rocksdb::FileMetaData::file_size, rocksdb::TableBuilder::FileSize(), rocksdb::TableBuilder::Finish(), rocksdb::WritableFile::Fsync(), GetInternalKeySeqno(), GetTableBuilder(), rocksdb::Options::info_log, rocksdb::Iterator::key(), kTypeMerge, rocksdb::FileMetaData::largest, rocksdb::FileMetaData::largest_seqno, ripple::max(), rocksdb::Options::merge_operator, ripple::min(), rocksdb::TableCache::NewIterator(), rocksdb::Env::NewWritableFile(), rocksdb::Iterator::Next(), rocksdb::FileMetaData::number, ripple::Resource::ok, rocksdb::Status::ok(), ParseInternalKey(), rocksdb::Options::purge_redundant_kvs_while_flush, rocksdb::Iterator::SeekToFirst(), rocksdb::ParsedInternalKey::sequence, rocksdb::Slice::size(), rocksdb::FileMetaData::smallest, rocksdb::FileMetaData::smallest_seqno, rocksdb::Options::statistics, rocksdb::Iterator::status(), rocksdb::WritableFile::Sync(), TABLE_SYNC_MICROS, TableFileName(), rocksdb::ParsedInternalKey::type, rocksdb::Options::use_fsync, rocksdb::ParsedInternalKey::user_key, rocksdb::Iterator::Valid(), rocksdb::Iterator::value(), and value.
Referenced by rocksdb::DBImpl::WriteLevel0Table(), and rocksdb::DBImpl::WriteLevel0TableForRecovery().


| rocksdb::bulk_load_ | ( | false | ) |
Definition at line 20 of file perf_context_imp.h.
References kEnableCount, and perf_level.
Referenced by rocksdb::BlockBasedTable::BlockReader(), rocksdb::InternalKeyComparator::Compare(), and ReadBlockContents().

|
inline |
Definition at line 26 of file perf_context_imp.h.
References rocksdb::StopWatchNano::ElapsedNanos(), kEnableTime, and perf_level.
Referenced by ReadBlockContents(), and rocksdb::DBImpl::Write().


| const Comparator * rocksdb::BytewiseComparator | ( | ) |
Definition at line 81 of file comparator.cc.
References bytewise, InitModule(), rocksdb::port::InitOnce(), and once.
Referenced by BM_LogAndApply(), Do_Compression_Test(), rocksdb::FindFileTest::Find(), rocksdb::BlockBasedTableBuilder::Finish(), Increment(), rocksdb::FindFileTest::Overlaps(), PrintContents(), rocksdb::BlockBasedTable::ReadMetaBlock(), rocksdb::BlockBasedTable::ReadProperties(), rocksdb::SstFileReader::ReadSequential(), Shorten(), ShortSuccessor(), and TEST().


|
static |
Definition at line 46 of file db_test.cc.
References rocksdb::port::BZip2_Compress(), rocksdb::Slice::data(), Json::in(), and rocksdb::Slice::size().
Referenced by GenerateArgList(), and MinLevelToCompress().


|
static |
Definition at line 116 of file db_impl.cc.
Referenced by SanitizeOptions().

| rocksdb::compact_ | ( | false | ) |
Definition at line 399 of file ldb_cmd.cc.
References bulk_load_(), create_if_missing_(), and disable_wal_().

|
static |
Definition at line 4542 of file db_test.cc.
References rocksdb::Slice::compare(), EscapeString(), rocksdb::Iterator::key(), rocksdb::DB::NewIterator(), rocksdb::Iterator::Next(), ripple::Resource::ok, rocksdb::Iterator::SeekToFirst(), rocksdb::ReadOptions::snapshot, rocksdb::Iterator::Valid(), and rocksdb::Iterator::value().
Referenced by TEST().


|
static |
Definition at line 1765 of file version_set.cc.
References rocksdb::VersionSet::fsize::file, rocksdb::FileMetaData::largest_seqno, and rocksdb::FileMetaData::smallest_seqno.
Referenced by rocksdb::VersionSet::UpdateFilesBySize().

|
static |
Definition at line 1759 of file version_set.cc.
References rocksdb::VersionSet::fsize::file, and rocksdb::FileMetaData::file_size.
Referenced by rocksdb::VersionSet::UpdateFilesBySize().

|
static |
Definition at line 341 of file skiplist_test.cc.
References rocksdb::port::AtomicPointer::Acquire_Load(), arg, rocksdb::TestState::Change(), rocksdb::TestState::DONE, rocksdb::TestState::quit_flag_, rocksdb::ConcurrentTest::ReadStep(), rocksdb::TestState::RUNNING, rocksdb::TestState::seed_, and rocksdb::TestState::t_.
Referenced by RunConcurrent().


| bool rocksdb::ConsumeChar | ( | Slice * | in, |
| char | c | ||
| ) |
Definition at line 53 of file logging.cc.
References rocksdb::Slice::empty(), and rocksdb::Slice::remove_prefix().

| bool rocksdb::ConsumeDecimalNumber | ( | Slice * | in, |
| uint64_t * | val | ||
| ) |
Definition at line 62 of file logging.cc.
References rocksdb::Slice::empty(), and rocksdb::Slice::remove_prefix().
Referenced by rocksdb::CorruptionTest::Check(), rocksdb::DBImpl::GetProperty(), and ParseFileName().


| rocksdb::count_delim_ | ( | false | ) |
| rocksdb::count_only_ | ( | false | ) |
| rocksdb::create_if_missing_ | ( | false | ) |
| std::shared_ptr< Statistics > rocksdb::CreateDBStatistics | ( | ) |
Definition at line 61 of file db_statistics.h.
Referenced by main(), and TEST().

| Status rocksdb::CreateLoggerFromOptions | ( | const std::string & | dbname, |
| const std::string & | db_log_dir, | ||
| Env * | env, | ||
| const Options & | options, | ||
| std::shared_ptr< Logger > * | logger | ||
| ) |
Definition at line 76 of file auto_roll_logger.cc.
References rocksdb::Env::CreateDir(), rocksdb::Env::GetAbsolutePath(), rocksdb::AutoRollLogger::GetStatus(), InfoLogFileName(), rocksdb::Options::log_file_time_to_roll, rocksdb::Options::max_log_file_size, rocksdb::Env::NewLogger(), rocksdb::Env::NowMicros(), rocksdb::Status::ok(), OldInfoLogFileName(), and rocksdb::Env::RenameFile().
Referenced by SanitizeOptions(), and TEST().


| std::string rocksdb::CurrentFileName | ( | const std::string & | dbname) |
Definition at line 86 of file filename.cc.
Referenced by rocksdb::DBImpl::GetLiveFiles(), rocksdb::DBImpl::Recover(), rocksdb::VersionSet::Recover(), SetCurrentFile(), and TEST().

|
inlinestatic |
Definition at line 59 of file block.cc.
References GetVarint32Ptr().
Referenced by rocksdb::Block::Iter::ParseNextKey(), and rocksdb::Block::Iter::Seek().


|
inline |
Definition at line 67 of file coding.h.
References rocksdb::port::kLittleEndian.
Referenced by rocksdb::Blob::Blob(), rocksdb::WriteBatchInternal::Count(), DecodeFixed64(), rocksdb::Footer::DecodeFrom(), DecodeKey(), rocksdb::FilterBlockReader::FilterBlockReader(), rocksdb::Block::Iter::GetRestartPoint(), Hash(), rocksdb::DBWithTTL::IsStale(), rocksdb::TestHashFilter::KeyMayMatch(), rocksdb::crc32c::LE_LOAD32(), rocksdb::FilterBlockReader::MayMatch(), rocksdb::RedisListIterator::MoveNext(), rocksdb::SimpleTableIterator::Next(), rocksdb::Block::NumRestarts(), ReadBlockContents(), rocksdb::log::Reader::ReadPhysicalRecord(), rocksdb::RedisListIterator::RedisListIterator(), rocksdb::DBWithTTL::SanityCheckTimestamp(), TEST(), and rocksdb::TtlIterator::timestamp().

|
inline |
Definition at line 81 of file coding.h.
References DecodeFixed32(), and rocksdb::port::kLittleEndian.
Referenced by rocksdb::InternalKeyComparator::Compare(), dumpDb(), ExtractValueType(), rocksdb::MemTable::Get(), Counters::get(), GetFileIterator(), GetInternalKeySeqno(), rocksdb::SimpleTableReader::GetOffset(), rocksdb::crc32c::LE_LOAD64(), rocksdb::SimpleTableReader::Open(), ParseInternalKey(), rocksdb::Version::PrefixMayMatch(), rocksdb::WriteBatchInternal::Sequence(), TEST(), and rocksdb::MemTable::Update().


|
static |
Definition at line 26 of file cache_test.cc.
References rocksdb::Slice::data(), DecodeFixed32(), and rocksdb::Slice::size().
Referenced by rocksdb::CacheTest::Deleter().


|
static |
Definition at line 31 of file cache_test.cc.
Referenced by rocksdb::CacheTest::Deleter(), rocksdb::CacheTest::Lookup(), and TEST().

|
static |
Definition at line 308 of file block_based_table_builder.cc.
References value.
Referenced by rocksdb::BlockBasedTable::BlockReader(), rocksdb::BlockBasedTable::GetBlock(), and rocksdb::BlockBasedTableBuilder::InsertBlockInCache().

|
static |
Definition at line 21 of file table_cache.cc.
References value.
Referenced by rocksdb::TableCache::FindTable().

| void rocksdb::deleter | ( | const Slice & | key, |
| void * | value | ||
| ) |
Definition at line 352 of file cache_test.cc.
Referenced by TEST().

| rocksdb::delim_ | ( | "." | ) |
| std::string rocksdb::DescriptorFileName | ( | const std::string & | dbname, |
| uint64_t | number | ||
| ) |
Definition at line 78 of file filename.cc.
Referenced by rocksdb::DBImpl::GetLiveFiles(), rocksdb::VersionSet::LogAndApply(), rocksdb::VersionSet::ManifestContains(), rocksdb::DBImpl::NewDB(), SetCurrentFile(), and TEST().

| Status rocksdb::DestroyDB | ( | const std::string & | dbname, |
| const Options & | options | ||
| ) |
Definition at line 3524 of file db_impl.cc.
References ArchivalDirectory(), comparator, rocksdb::Options::comparator, rocksdb::Env::DeleteDir(), rocksdb::Env::DeleteFile(), env, rocksdb::Options::env, rocksdb::Options::filter_policy, rocksdb::Env::GetChildren(), kDBLockFile, kLogFile, kMetaDatabase, rocksdb::Env::LockFile(), LockFileName(), rocksdb::Status::OK(), rocksdb::Status::ok(), ParseFileName(), SanitizeOptions(), rocksdb::Env::UnlockFile(), and rocksdb::Options::wal_dir.
Referenced by rocksdb::Benchmark::Benchmark(), BM_LogAndApply(), rocksdb::CorruptionTest::CorruptionTest(), rocksdb::DBTest::DBTest(), rocksdb::DeleteFileTest::DeleteFileTest(), rocksdb::DBTest::Destroy(), rocksdb::SimpleTableDBTest::Destroy(), leveldb_destroy_db(), main(), rocksdb::DBConstructor::NewDB(), OpenDb(), ProfileKeyComparison(), rocksdb::RedisLists::RedisLists(), rocksdb::ReduceLevelTest::ReduceLevelTest(), rocksdb::DeleteFileTest::ReopenDB(), rocksdb::Benchmark::Run(), runTest(), rocksdb::SimpleTableDBTest::SimpleTableDBTest(), rocksdb::StressTest::StressTest(), rocksdb::StringAppendOperatorTest::StringAppendOperatorTest(), TableReaderBenchmark(), TEST(), rocksdb::TtlTest::TtlTest(), rocksdb::CorruptionTest::~CorruptionTest(), rocksdb::DBTest::~DBTest(), rocksdb::SimpleTableDBTest::~SimpleTableDBTest(), and rocksdb::TtlTest::~TtlTest().


| rocksdb::disable_wal_ | ( | false | ) |
|
static |
Definition at line 1136 of file table_test.cc.
References rocksdb::Constructor::Add(), rocksdb::BlockBasedTableConstructor::ApproximateOffsetOf(), ASSERT_TRUE, Between(), rocksdb::Options::block_size, BytewiseComparator(), rocksdb::test::CompressibleString(), rocksdb::Options::compression, and rocksdb::Constructor::Finish().
Referenced by TEST().


|
static |
Definition at line 63 of file env.cc.
References rocksdb::WritableFile::Append(), rocksdb::Env::DeleteFile(), rocksdb::Env::NewWritableFile(), rocksdb::Status::ok(), and rocksdb::WritableFile::Sync().
Referenced by WriteStringToFile(), and WriteStringToFileSync().


|
static |
Definition at line 36 of file table_reader_bench.cc.
Referenced by TableReaderBenchmark().

| void rocksdb::dumpLeveldbBuildVersion | ( | Logger * | log) |
| void rocksdb::EncodeFixed32 | ( | char * | buf, |
| uint32_t | value | ||
| ) |
Definition at line 16 of file coding.cc.
Referenced by rocksdb::DBWithTTL::AppendTS(), rocksdb::log::Writer::EmitPhysicalRecord(), rocksdb::log::LogTest::FixChecksum(), rocksdb::TtlMergeOperator::FullMerge(), rocksdb::RedisListIterator::InsertElement(), rocksdb::TtlMergeOperator::PartialMerge(), PutFixed32(), rocksdb::WriteBatchInternal::SetCount(), rocksdb::BlockBasedTableBuilder::WriteRawBlock(), and rocksdb::RedisListIterator::WriteResult().

| void rocksdb::EncodeFixed64 | ( | char * | buf, |
| uint64_t | value | ||
| ) |
Definition at line 27 of file coding.cc.
Referenced by rocksdb::MemTable::Add(), MergeBasedCounters::add(), rocksdb::TableCache::Evict(), rocksdb::TableCache::FindTable(), rocksdb::LookupKey::LookupKey(), PutFixed64(), rocksdb::WriteBatchInternal::SetSequence(), UpdateInternalKey(), and rocksdb::Version::LevelFileNumIterator::value().

|
static |
Definition at line 21 of file cache_test.cc.
References PutFixed32().

|
static |
Definition at line 81 of file memtable.cc.
References rocksdb::Slice::data(), PutVarint32(), and rocksdb::Slice::size().
Referenced by rocksdb::CacheTest::Erase(), rocksdb::CacheTest::Insert(), rocksdb::CacheTest::Lookup(), rocksdb::MemTableIterator::Seek(), and TEST().


|
static |
Definition at line 30 of file cache_test.cc.
Referenced by rocksdb::CacheTest::Insert().

| char * rocksdb::EncodeVarint32 | ( | char * | dst, |
| uint32_t | v | ||
| ) |
Definition at line 54 of file coding.cc.
Referenced by rocksdb::MemTable::Add(), rocksdb::LookupKey::LookupKey(), PutVarint32(), and rocksdb::MemTable::Update().

| char * rocksdb::EncodeVarint64 | ( | char * | dst, |
| uint64_t | v | ||
| ) |
Definition at line 88 of file coding.cc.
Referenced by rocksdb::BlockBasedTable::GenerateCachePrefix(), rocksdb::StringSource::GetUniqueId(), rocksdb::BlockBasedTableBuilder::InsertBlockInCache(), and PutVarint64().

| rocksdb::end_key_specified_ | ( | false | ) |
| std::string rocksdb::EscapeString | ( | const Slice & | value) |
Definition at line 47 of file logging.cc.
References AppendEscapedStringTo().
Referenced by CompareIterators(), rocksdb::InternalKey::DebugString(), TEST(), and rocksdb::Harness::TestRandomAccess().


| void rocksdb::ExpectRecords | ( | const int | expected_no_records, |
| std::unique_ptr< TransactionLogIterator > & | iter | ||
| ) |
Definition at line 4011 of file db_test.cc.
References ASSERT_EQ, and ReadRecords().
Referenced by TEST().


|
inline |
Definition at line 75 of file dbformat.h.
References rocksdb::Slice::data(), and rocksdb::Slice::size().
Referenced by rocksdb::FilterBlockBuilder::AddKey(), rocksdb::InternalKeyComparator::Compare(), rocksdb::InternalFilterPolicy::CreateFilter(), rocksdb::InternalKeyComparator::FindShortestSeparator(), rocksdb::InternalKeyComparator::FindShortSuccessor(), rocksdb::InternalFilterPolicy::KeyMayMatch(), rocksdb::BlockBasedTable::PrefixMayMatch(), rocksdb::Version::PrefixMayMatch(), and rocksdb::InternalKey::user_key().


|
inline |
Definition at line 80 of file dbformat.h.
References rocksdb::Slice::data(), DecodeFixed64(), and rocksdb::Slice::size().

| int rocksdb::FindFile | ( | const InternalKeyComparator & | icmp, |
| const std::vector< FileMetaData * > & | files, | ||
| const Slice & | key | ||
| ) |
Definition at line 60 of file version_set.cc.
References rocksdb::InternalKey::Encode(), ripple::f, and rocksdb::FileMetaData::largest.
Referenced by rocksdb::FindFileTest::Find(), rocksdb::Version::Get(), rocksdb::Version::HasOverlappingUserKey(), rocksdb::Version::LevelFileNumIterator::Seek(), and SomeFileOverlapsRange().


|
static |
Definition at line 23 of file filename.cc.
Referenced by InfoLogFileName(), and OldInfoLogFileName().

|
static |
Definition at line 493 of file table_test.cc.
References BLOCK_TEST, BZip2CompressionSupported(), rocksdb::TestArgs::compression, DB_TEST, kBZip2Compression, kNoCompression, kSnappyCompression, kZlibCompression, MEMTABLE_TEST, rocksdb::TestArgs::restart_interval, rocksdb::TestArgs::reverse_compare, SnappyCompressionSupported(), TABLE_TEST, rocksdb::TestArgs::type, and ZlibCompressionSupported().
Referenced by TEST().


| CompressionType rocksdb::GetCompressionType | ( | const Options & | options, |
| int | level, | ||
| const bool | enable_compression | ||
| ) |
Definition at line 205 of file db_impl.cc.
References rocksdb::Options::compression, rocksdb::Options::compression_per_level, kNoCompression, ripple::max(), and ripple::min().
Referenced by rocksdb::DBImpl::OpenCompactionOutputFile().


| uint64_t rocksdb::GetDeletedKeys | ( | const TableProperties::UserCollectedProperties & | props) |
Definition at line 153 of file table_properties_collector.cc.
References GetVarint64(), and rocksdb::InternalKeyTablePropertiesNames::kDeletedKeys.
Referenced by TEST().


| void rocksdb::GetFileCreateTime | ( | const std::string & | fname, |
| uint64_t * | file_ctime | ||
| ) |
Definition at line 56 of file auto_roll_logger_test.cc.
Referenced by rocksdb::AutoRollLoggerTest::RollLogFileByTimeTest().

|
static |
Definition at line 187 of file version_set.cc.
References arg, rocksdb::Status::Corruption(), rocksdb::Slice::data(), DecodeFixed64(), NewErrorIterator(), rocksdb::TableCache::NewIterator(), rocksdb::ReadOptions::prefix, and rocksdb::Slice::size().
Referenced by rocksdb::VersionSet::MakeInputIterator(), and rocksdb::Version::NewConcatenatingIterator().


|
static |
Definition at line 98 of file version_edit.cc.
References rocksdb::InternalKey::DecodeFrom(), and GetLengthPrefixedSlice().
Referenced by rocksdb::VersionEdit::DecodeFrom().


|
inline |
Definition at line 181 of file dbformat.h.
References rocksdb::Slice::data(), DecodeFixed64(), and rocksdb::Slice::size().
Referenced by BuildTable(), and rocksdb::DBImpl::DoCompactionWork().


| const char* rocksdb::GetLengthPrefixedSlice | ( | const char * | p, |
| const char * | limit, | ||
| Slice * | result | ||
| ) |
Definition at line 191 of file coding.cc.
References GetVarint32Ptr().
Referenced by rocksdb::VersionEdit::DecodeFrom(), rocksdb::MemTable::Get(), GetInternalKey(), rocksdb::WriteBatch::Iterate(), rocksdb::MemTableIterator::key(), rocksdb::MemTable::KeyComparator::operator()(), rocksdb::stl_wrappers::Hash::operator()(), TEST(), rocksdb::MemTableRep::UserKey(), and rocksdb::MemTableIterator::value().


| bool rocksdb::GetLengthPrefixedSlice | ( | Slice * | input, |
| Slice * | result | ||
| ) |
Definition at line 201 of file coding.cc.
References rocksdb::Slice::data(), GetVarint32(), rocksdb::Slice::remove_prefix(), and rocksdb::Slice::size().

| Slice rocksdb::GetLengthPrefixedSlice | ( | const char * | data) |
Definition at line 213 of file coding.cc.
References GetVarint32Ptr().

| uint64_t rocksdb::GetLogDirSize | ( | std::string | dir_path, |
| SpecialEnv * | env | ||
| ) |
Definition at line 3934 of file db_test.cc.
References ripple::f, rocksdb::EnvWrapper::GetChildren(), rocksdb::EnvWrapper::GetFileSize(), kLogFile, and ParseFileName().
Referenced by TEST().


| TableBuilder * rocksdb::GetTableBuilder | ( | const Options & | options, |
| WritableFile * | file, | ||
| CompressionType | compression_type | ||
| ) |
Definition at line 29 of file builder.cc.
References rocksdb::Options::table_factory.
Referenced by BuildTable(), and rocksdb::DBImpl::OpenCompactionOutputFile().

| bool rocksdb::GetVarint32 | ( | Slice * | input, |
| uint32_t * | value | ||
| ) |
Definition at line 150 of file coding.cc.
References rocksdb::Slice::data(), GetVarint32Ptr(), and rocksdb::Slice::size().
Referenced by rocksdb::VersionEdit::DecodeFrom(), GetLengthPrefixedSlice(), rocksdb::VersionEdit::GetLevel(), and TEST().


|
inline |
Definition at line 98 of file coding.h.
References GetVarint32PtrFallback().
Referenced by DecodeEntry(), rocksdb::MemTable::Get(), GetLengthPrefixedSlice(), GetVarint32(), TEST(), and rocksdb::MemTable::Update().


| const char * rocksdb::GetVarint32PtrFallback | ( | const char * | p, |
| const char * | limit, | ||
| uint32_t * | value | ||
| ) |
Definition at line 131 of file coding.cc.
Referenced by GetVarint32Ptr().

| bool rocksdb::GetVarint64 | ( | Slice * | input, |
| uint64_t * | value | ||
| ) |
Definition at line 179 of file coding.cc.
References rocksdb::Slice::data(), GetVarint64Ptr(), and rocksdb::Slice::size().
Referenced by rocksdb::BlockHandle::DecodeFrom(), rocksdb::VersionEdit::DecodeFrom(), GetDeletedKeys(), IsSingleVarint(), and rocksdb::BlockBasedTable::ReadProperties().


| const char * rocksdb::GetVarint64Ptr | ( | const char * | p, |
| const char * | limit, | ||
| uint64_t * | value | ||
| ) |
Definition at line 162 of file coding.cc.
Referenced by GetVarint64(), and TEST().

| rocksdb::has_from_ | ( | false | ) |
| rocksdb::has_to_ | ( | false | ) |
| uint32_t rocksdb::Hash | ( | const char * | data, |
| size_t | n, | ||
| uint32_t | seed | ||
| ) |
Definition at line 16 of file hash.cc.
References DecodeFixed32().
Referenced by rocksdb::TestHashFilter::CreateFilter(), rocksdb::ConcurrentTest::HashNumbers(), and rocksdb::TestHashFilter::KeyMayMatch().


| std::string rocksdb::IdentityFileName | ( | const std::string & | dbname) |
Definition at line 130 of file filename.cc.
Referenced by rocksdb::DBImpl::Recover(), SetIdentityFile(), and TEST().

| rocksdb::if | ( | params.size()! | = 1) |
Definition at line 1359 of file ldb_cmd.cc.
References rocksdb::LDBCommand::exec_state_, and rocksdb::LDBCommandExecuteResult::FAILED().
Referenced by beast::asio::InputParser::Get< UInt32Str >::func(), ripple::Pathfinder::getPaths(), ripple::LedgerConsensusImp::getTransactionTree(), ripple::NetworkOPsImp::getTXMap(), ripple::RippleAddress::humanAccountID(), rocksdb::PosixLogger::Logv(), rocksdb::DBImpl::PurgeObsoleteWALFiles(), ripple::PeerImp::recvGetObjectByHash(), ripple::FeaturesImpl::setJson(), and beast::sysinfo().


| rocksdb::if | ( | is_key_hex_ | ) |
Definition at line 1366 of file ldb_cmd.cc.
References rocksdb::LDBCommand::HexToString(), and rocksdb::GetCommand::key_.

|
static |
Definition at line 16 of file dbformat_test.cc.
References AppendInternalKey().
Referenced by TEST(), and TestKey().


| void rocksdb::IncBucketCounts | ( | vector< uint64_t > & | bucket_counts, |
| int | ttl_start, | ||
| int | time_range, | ||
| int | bucket_size, | ||
| int | timekv, | ||
| int | num_buckets | ||
| ) |
Definition at line 564 of file ldb_cmd.cc.
Referenced by rocksdb::DBDumperCommand::DoCommand().

|
static |
Definition at line 76 of file table_test.cc.
References BytewiseComparator(), and reverse_key_comparator.
Referenced by rocksdb::Harness::PickRandomKey().


| std::string rocksdb::InfoLogFileName | ( | const std::string & | dbname, |
| const std::string & | db_path, | ||
| const std::string & | log_dir | ||
| ) |
Definition at line 99 of file filename.cc.
References FlattenPath().
Referenced by rocksdb::AutoRollLogger::AutoRollLogger(), and CreateLoggerFromOptions().


|
static |
Definition at line 77 of file comparator.cc.
References bytewise.
Referenced by BytewiseComparator().

|
static |
Definition at line 3114 of file version_set.cc.
Referenced by rocksdb::Compaction::Summary().

| void rocksdb::InstallStackTraceHandler | ( | ) |
Definition at line 98 of file stack_trace.cc.
Referenced by main().

|
inline |
Definition at line 59 of file dbformat.h.
References rocksdb::Slice::size(), and rocksdb::ParsedInternalKey::user_key.

| rocksdb::is_input_key_hex_ | ( | false | ) |
Definition at line 607 of file ldb_cmd.cc.
References count_delim_(), count_only_(), delim_(), has_from_(), has_to_(), HexToString(), max_keys_(), and print_stats_().

| bool rocksdb::IsSingleVarint | ( | const std::string & | s) |
Definition at line 182 of file env_test.cc.
References GetVarint64(), and rocksdb::Slice::size().

|
static |
Definition at line 20 of file bloom_test.cc.
|
static |
Definition at line 349 of file db_stress.cc.
References PutFixed64().

|
static |
Definition at line 678 of file db_test.cc.
|
static |
Definition at line 743 of file simple_table_db_test.cc.
| std::vector<std::uint64_t> rocksdb::ListLogFiles | ( | Env * | env, |
| const std::string & | path | ||
| ) |
Definition at line 3872 of file db_test.cc.
References rocksdb::Env::GetChildren(), kLogFile, and ParseFileName().
Referenced by TEST().


| std::string rocksdb::LockFileName | ( | const std::string & | dbname) |
Definition at line 90 of file filename.cc.
Referenced by DestroyDB(), rocksdb::DBImpl::Recover(), and TEST().

| void rocksdb::Log | ( | const shared_ptr< Logger > & | info_log, |
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 54 of file env.cc.
Referenced by ripple::addTxnSeqField(), ripple::Ledger::assertSane(), rocksdb::DBImpl::BackgroundCallCompaction(), rocksdb::DBImpl::BackgroundCallFlush(), rocksdb::DBImpl::BackgroundCompaction(), rocksdb::DBImpl::BackgroundFlush(), ripple::Transaction::checkSign(), rocksdb::VersionSet::CompactRange(), rocksdb::LogReporter::Corruption(), rocksdb::DBImpl::DBImpl(), rocksdb::DBImplReadOnly::DBImplReadOnly(), rocksdb::DBImpl::DelayLoggingAndReset(), rocksdb::DBImpl::DeleteFile(), rocksdb::DBImpl::DisableFileDeletions(), rocksdb::DBImpl::DoCompactionWork(), ripple::AccountState::dump(), rocksdb::Options::Dump(), rocksdb::DBImpl::EnableFileDeletions(), rocksdb::DBImpl::findEarliestVisibleSnapshot(), rocksdb::BlockBasedTableBuilder::Finish(), rocksdb::DBImpl::FinishCompactionOutputFile(), rocksdb::DBImpl::FlushMemTableToOutputFile(), rocksdb::TtlMergeOperator::FullMerge(), rocksdb::DBImpl::GetLiveFiles(), ripple::Ledger::getSQL(), AutoSocket::handle_autodetect(), rocksdb::LogReporter::Info(), rocksdb::DBImpl::InstallCompactionResults(), rocksdb::MemTableList::InstallMemtableFlushResults(), ripple::SerializedValidation::isValid(), rocksdb::SimpleTableIterator::key(), rocksdb::VersionSet::LogAndApply(), LogMessage(), ripple::logTimedDestroy(), rocksdb::DBImpl::MakeRoomForWrite(), rocksdb::VersionSet::ManifestContains(), rocksdb::DBImpl::MaybeDumpStats(), rocksdb::DBImpl::MaybeIgnoreError(), rocksdb::BlockBasedTable::Open(), ripple::STObject::operator==(), rocksdb::TtlMergeOperator::PartialMerge(), rocksdb::VersionSet::PickCompactionUniversal(), rocksdb::VersionSet::PickCompactionUniversalReadAmp(), rocksdb::VersionSet::PickCompactionUniversalSizeAmp(), rocksdb::DBImpl::PrintStatistics(), rocksdb::DBImpl::PurgeObsoleteFiles(), rocksdb::DBImpl::PurgeObsoleteWALFiles(), rocksdb::DBImpl::ReadFirstLine(), rocksdb::BlockBasedTable::ReadMetaBlock(), rocksdb::BlockBasedTable::ReadProperties(), rocksdb::VersionSet::Recover(), rocksdb::DBImpl::RecoverLogFile(), rocksdb::DBImpl::ReFitLevel(), AutoSocket::rfc2818_verify(), SanitizeOptions(), ripple::schemaHas(), ripple::SerializedTransaction::SerializedTransaction(), ripple::SerializedValidation::SerializedValidation(), ripple::LogSink::setLogFile(), ripple::NetworkOPsImp::setMode(), rocksdb::VersionSet::SetupOtherInputs(), ripple::Transaction::sharedTransaction(), ripple::Transaction::sign(), rocksdb::DBImpl::TEST_CompactRange(), ripple::ApplicationImp::updateTables(), rocksdb::VersionSet::VerifyCompactionFileConsistency(), ripple::Ledger::walkLedger(), ripple::Ledger::writeBack(), rocksdb::DBImpl::WriteLevel0Table(), and rocksdb::DBImpl::WriteLevel0TableForRecovery().
| void rocksdb::Log | ( | Logger * | info_log, |
| const char * | format, | ||
| ... | |||
| ) |
Definition at line 39 of file env.cc.
References rocksdb::Logger::Logv().

| std::string rocksdb::LogFileName | ( | const std::string & | name, |
| uint64_t | number | ||
| ) |
Definition at line 60 of file filename.cc.
References MakeFileName().
Referenced by rocksdb::DBImpl::AppendSortedWalsOfType(), rocksdb::DBImpl::CheckWalFileExistsAndEmpty(), rocksdb::DBImpl::MakeRoomForWrite(), rocksdb::DB::Open(), rocksdb::TransactionLogIteratorImpl::OpenLogFile(), rocksdb::LogFileImpl::PathName(), rocksdb::DBImpl::PurgeObsoleteFiles(), rocksdb::DBImpl::ReadFirstRecord(), rocksdb::DBImpl::RecoverLogFile(), and TEST().


| void rocksdb::LogFlush | ( | const shared_ptr< Logger > & | info_log) |
Definition at line 48 of file env.cc.
Referenced by rocksdb::DBImpl::BackgroundCallCompaction(), rocksdb::DBImpl::BackgroundCallFlush(), rocksdb::DBImpl::CompactRange(), rocksdb::DBImpl::DBImpl(), rocksdb::DBImpl::DeleteFile(), rocksdb::DBImpl::DoCompactionWork(), rocksdb::DBImpl::EnableFileDeletions(), rocksdb::DBImpl::GetImpl(), rocksdb::VersionSet::LogAndApply(), rocksdb::DBImpl::MultiGet(), rocksdb::DBImpl::NewInternalIterator(), rocksdb::DBImpl::OpenCompactionOutputFile(), rocksdb::DBImpl::PurgeObsoleteFiles(), rocksdb::DBImpl::TEST_Destroy_DBImpl(), rocksdb::DBImpl::Write(), rocksdb::DBImpl::WriteLevel0Table(), rocksdb::DBImpl::WriteLevel0TableForRecovery(), and rocksdb::DBImpl::~DBImpl().

| void rocksdb::LogFlush | ( | Logger * | info_log) |
Definition at line 33 of file env.cc.
References rocksdb::Logger::Flush().

| void rocksdb::LogMessage | ( | Logger * | logger, |
| const char * | message | ||
| ) |
Definition at line 52 of file auto_roll_logger_test.cc.
References Log().
Referenced by rocksdb::AutoRollLoggerTest::RollLogFileBySizeTest(), rocksdb::AutoRollLoggerTest::RollLogFileByTimeTest(), and TEST().


| void rocksdb::MakeBuilder | ( | const Options & | options, |
| std::unique_ptr< FakeWritableFile > * | writable, | ||
| std::unique_ptr< TableBuilder > * | builder | ||
| ) |
Definition at line 86 of file table_properties_collector_test.cc.
References rocksdb::Options::compression, and rocksdb::Options::table_factory.
Referenced by TEST().

|
static |
Definition at line 51 of file filename.cc.
Referenced by ArchivedLogFileName(), LogFileName(), TableFileName(), and TempFileName().

|
static |
Definition at line 22 of file table_reader_bench.cc.
References rocksdb::InternalKey::Encode(), kTypeValue, and rocksdb::Slice::ToString().

| std::string rocksdb::MakeKey | ( | unsigned int | num) |
Definition at line 4857 of file db_test.cc.
Referenced by BM_LogAndApply(), and TableReaderBenchmark().

| void rocksdb::MakeUpper | ( | std::string *const | s) |
THE manual REDIS TEST begins here THIS WILL ONLY OCCUR IF YOU RUN: ./redis_test -m
Definition at line 741 of file redis_lists_test.cc.
Referenced by manual_redis_test().

| int rocksdb::manual_redis_test | ( | bool | destructive) |
Allows the user to enter in REDIS commands into the command-line. This is useful for manual / interacticve testing / debugging. Use destructive=true to clean the database before use. Use destructive=false to remember the previous state (i.e.: persistent) Should be called from main function.
Definition at line 753 of file redis_lists_test.cc.
References rocksdb::RedisLists::Index(), rocksdb::RedisLists::InsertAfter(), rocksdb::RedisLists::InsertBefore(), rocksdb::RedisListsTest::kDefaultDbName, rocksdb::RedisLists::Length(), MakeUpper(), rocksdb::RedisListsTest::options, rocksdb::RedisLists::PopLeft(), rocksdb::RedisLists::PopRight(), rocksdb::RedisLists::Print(), rocksdb::RedisLists::PushLeft(), rocksdb::RedisLists::PushRight(), rocksdb::RedisLists::Range(), rocksdb::RedisLists::Remove(), rocksdb::RedisLists::Set(), and rocksdb::RedisLists::Trim().
Referenced by main().


|
static |
Definition at line 302 of file version_set.cc.
References arg.
Referenced by rocksdb::Version::Get().

| rocksdb::max_keys_ | ( | - | 1) |
| rocksdb::max_keys_scanned_ | ( | - | 1) |
Definition at line 1503 of file ldb_cmd.cc.
References end_key_specified_(), rocksdb::LDBCommandExecuteResult::FAILED(), HexToString(), and start_key_specified_().

| rocksdb::maxBucketValue_ | ( | bucketValues_. | back()) |
| std::string rocksdb::MetaDatabaseName | ( | const std::string & | dbname, |
| uint64_t | number | ||
| ) |
Definition at line 123 of file filename.cc.
Referenced by TEST().

| rocksdb::minBucketValue_ | ( | bucketValues_. | front()) |
Definition at line 39 of file histogram.cc.
| void rocksdb::MinLevelHelper | ( | DBTest * | self, |
| Options & | options | ||
| ) |
Definition at line 2342 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::level0_file_num_compaction_trigger, and RandomString().
Referenced by TEST().


| bool rocksdb::MinLevelToCompress | ( | CompressionType & | type, |
| Options & | options, | ||
| int | wbits, | ||
| int | lev, | ||
| int | strategy | ||
| ) |
Definition at line 2372 of file db_test.cc.
References BZip2CompressionSupported(), rocksdb::Options::compression_per_level, rocksdb::Options::create_if_missing, kBZip2Compression, kNoCompression, kSnappyCompression, kZlibCompression, rocksdb::Options::level0_file_num_compaction_trigger, rocksdb::Options::max_mem_compaction_level, rocksdb::Options::num_levels, SnappyCompressionSupported(), rocksdb::Options::write_buffer_size, and ZlibCompressionSupported().
Referenced by TEST().


| rocksdb::new_compaction_style_ | ( | - | 1) |
Definition at line 1107 of file ldb_cmd.cc.
References rocksdb::LDBCommandExecuteResult::FAILED(), kCompactionStyleLevel, kCompactionStyleUniversal, and old_compaction_style_().

| rocksdb::new_levels_ | ( | - | 1) |
| const FilterPolicy * rocksdb::NewBloomFilterPolicy | ( | int | bits_per_key) |
Definition at line 107 of file bloom.cc.
Referenced by rocksdb::DBTest::DBTest(), leveldb_filterpolicy_create_bloom(), ripple::NodeStore::LevelDBBackend::LevelDBBackend(), rocksdb::LDBCommand::PrepareOptionsForOpenDB(), and TEST().

| Iterator * rocksdb::NewDBIterator | ( | const std::string * | dbname, |
| Env * | env, | ||
| const Options & | options, | ||
| const Comparator * | user_key_comparator, | ||
| Iterator * | internal_iter, | ||
| const SequenceNumber & | sequence | ||
| ) |
Definition at line 470 of file db_iter.cc.
Referenced by rocksdb::DBImplReadOnly::NewIterator(), and rocksdb::DBImpl::NewIterator().

| Iterator * rocksdb::NewEmptyIterator | ( | ) |
Definition at line 64 of file iterator.cc.
References rocksdb::Status::OK().
Referenced by rocksdb::Version::NewConcatenatingIterator(), rocksdb::Block::NewIterator(), rocksdb::BlockBasedTable::NewIterator(), and NewMergingIterator().


| Iterator * rocksdb::NewErrorIterator | ( | const Status & | status) |
Definition at line 68 of file iterator.cc.
Referenced by rocksdb::BlockBasedTable::BlockReader(), GetFileIterator(), rocksdb::BlockBasedTable::IndexBlockReader(), rocksdb::Block::NewIterator(), and rocksdb::TableCache::NewIterator().

|
static |
Definition at line 391 of file version_set.cc.
References rocksdb::FileMetaData::number.
Referenced by rocksdb::Version::Get().

|
static |
Definition at line 394 of file version_set.cc.
References rocksdb::FileMetaData::largest_seqno, and rocksdb::FileMetaData::smallest_seqno.
Referenced by rocksdb::Version::Get().

| const SliceTransform * rocksdb::NewFixedPrefixTransform | ( | size_t | prefix_len) |
Definition at line 65 of file slice.cc.
Referenced by rocksdb::DBTest::CurrentOptions(), main(), rocksdb::Benchmark::Open(), rocksdb::StressTest::Open(), OpenDb(), rocksdb::PrefixTest::OpenDb(), and TEST().

| MemTableRepFactory * rocksdb::NewHashSkipListRepFactory | ( | const SliceTransform * | transform, |
| size_t | bucket_count = 1000000 |
||
| ) |
Definition at line 325 of file hash_skiplist_rep.cc.
Referenced by rocksdb::PrefixTest::OpenDb(), and TEST().

| shared_ptr< Cache > rocksdb::NewLRUCache | ( | size_t | capacity) |
Definition at line 414 of file cache.cc.
Referenced by rocksdb::CorruptionTest::CorruptionTest(), rocksdb::DBTest::CurrentOptions(), leveldb_cache_create_lru(), ripple::NodeStore::LevelDBBackend::LevelDBBackend(), ripple::NodeStore::LevelDBFactory::LevelDBFactory(), NewLRUCache(), SanitizeOptions(), and TEST().

| shared_ptr< Cache > rocksdb::NewLRUCache | ( | size_t | capacity, |
| int | numShardBits | ||
| ) |
Definition at line 418 of file cache.cc.
References NewLRUCache().

| shared_ptr< Cache > rocksdb::NewLRUCache | ( | size_t | capacity, |
| int | numShardBits, | ||
| int | removeScanCountLimit | ||
| ) |
| MaxIterHeap rocksdb::NewMaxIterHeap | ( | const Comparator * | comparator) |
Definition at line 55 of file iter_heap.h.
| Env * rocksdb::NewMemEnv | ( | Env * | base_env) |
| Iterator * rocksdb::NewMergingIterator | ( | const Comparator * | cmp, |
| Iterator ** | list, | ||
| int | n | ||
| ) |
Definition at line 217 of file merger.cc.
References NewEmptyIterator().
Referenced by rocksdb::VersionSet::MakeInputIterator(), rocksdb::DBImpl::NewInternalIterator(), and rocksdb::DBImpl::WriteLevel0Table().


| MinIterHeap rocksdb::NewMinIterHeap | ( | const Comparator * | comparator) |
Definition at line 60 of file iter_heap.h.
| const SliceTransform * rocksdb::NewNoopTransform | ( | ) |
| Iterator* rocksdb::NewTwoLevelIterator | ( | Iterator * | index_iter, |
| Iterator *(*)(void *arg, const ReadOptions &options, const EnvOptions &soptions, const Slice &index_value, bool for_compaction) | block_function, | ||
| void * | arg, | ||
| const ReadOptions & | options, | ||
| const EnvOptions & | soptions, | ||
| bool | for_compaction = false |
||
| ) |
| Iterator* rocksdb::NewTwoLevelIterator | ( | Iterator * | index_iter, |
| BlockFunction | block_function, | ||
| void * | arg, | ||
| const ReadOptions & | options, | ||
| const EnvOptions & | soptions, | ||
| bool | for_compaction | ||
| ) |
Definition at line 194 of file two_level_iterator.cc.
Referenced by rocksdb::VersionSet::MakeInputIterator(), rocksdb::Version::NewConcatenatingIterator(), and rocksdb::BlockBasedTable::NewIterator().

|
static |
Definition at line 106 of file bloom_test.cc.
Referenced by TEST().

| rocksdb::null_from_ | ( | true | ) |
| rocksdb::null_to_ | ( | true | ) |
Definition at line 338 of file ldb_cmd.cc.
References HexToString(), and null_from_().
Referenced by print_stats_().


| std::string rocksdb::NumberToString | ( | uint64_t | num) |
Definition at line 41 of file logging.cc.
References AppendNumberTo().
Referenced by rocksdb::ChangeCompactionStyleCommand::DoCommand(), rocksdb::ReduceLevelTest::FilesOnLevel(), rocksdb::DBTest::NumTableFilesAtLevel(), rocksdb::SimpleTableDBTest::NumTableFilesAtLevel(), PrintContents(), rocksdb::StressTest::PrintEnv(), and TEST().


| rocksdb::old_compaction_style_ | ( | - | 1) |
| rocksdb::old_levels_ | ( | 1<< | 16) |
| std::string rocksdb::OldInfoLogFileName | ( | const std::string & | dbname, |
| uint64_t | ts, | ||
| const std::string & | db_path, | ||
| const std::string & | log_dir | ||
| ) |
Definition at line 110 of file filename.cc.
References FlattenPath().
Referenced by CreateLoggerFromOptions(), and rocksdb::AutoRollLogger::RollLogFile().


| int rocksdb::OldLogFileCount | ( | const string & | dir) |
Definition at line 238 of file auto_roll_logger_test.cc.
References kInfoLogFile, and ParseFileName().

| std::shared_ptr<DB> rocksdb::OpenDb | ( | ) |
Definition at line 30 of file perf_context_test.cc.
References ASSERT_OK, rocksdb::Options::create_if_missing, db, FLAGS_max_write_buffer_number, FLAGS_min_write_buffer_number_to_merge, FLAGS_use_set_based_memetable, FLAGS_write_buffer_size, kDbName, rocksdb::Options::max_write_buffer_number, rocksdb::Options::memtable_factory, rocksdb::Options::min_write_buffer_number_to_merge, NewFixedPrefixTransform(), rocksdb::DB::Open(), and rocksdb::Options::write_buffer_size.
Referenced by ProfileKeyComparison(), rocksdb::StringAppendOperatorTest::SetOpenDbFunction(), and TEST().


| std::shared_ptr<DB> rocksdb::OpenNormalDb | ( | char | delim_char) |
Definition at line 29 of file stringappend_test.cc.
References ASSERT_OK, rocksdb::Options::create_if_missing, db, kDbName, rocksdb::Options::merge_operator, and rocksdb::DB::Open().
Referenced by main().


| void rocksdb::OpenTable | ( | const Options & | options, |
| const std::string & | contents, | ||
| std::unique_ptr< TableReader > * | table_reader | ||
| ) |
Definition at line 96 of file table_properties_collector_test.cc.
References ASSERT_OK, and rocksdb::Options::table_factory.
Referenced by TEST().

| std::shared_ptr<DB> rocksdb::OpenTtlDb | ( | char | delim_char) |
Definition at line 39 of file stringappend_test.cc.
References ASSERT_OK, rocksdb::Options::create_if_missing, db, kDbName, and rocksdb::Options::merge_operator.
Referenced by main().

|
inline |
|
inline |
Definition at line 115 of file slice.h.
References rocksdb::Slice::data(), and rocksdb::Slice::size().

Definition at line 18 of file dbformat.cc.
References kMaxSequenceNumber, and kValueTypeForSeek.
Referenced by AppendInternalKey(), rocksdb::InternalKeyComparator::FindShortestSeparator(), rocksdb::InternalKeyComparator::FindShortSuccessor(), and rocksdb::LookupKey::LookupKey().

| bool rocksdb::ParseFileName | ( | const std::string & | fname, |
| uint64_t * | number, | ||
| FileType * | type, | ||
| WalFileType * | log_type | ||
| ) |
Definition at line 144 of file filename.cc.
References ARCHIVAL_DIR, ConsumeDecimalNumber(), rocksdb::Slice::empty(), kAliveLogFile, kArchivedLogFile, kCurrentFile, kDBLockFile, kDescriptorFile, kIdentityFile, kInfoLogFile, kLogFile, kMetaDatabase, kTableFile, kTempFile, rocksdb::Slice::remove_prefix(), rocksdb::Slice::size(), and rocksdb::Slice::starts_with().
Referenced by rocksdb::DBImpl::AppendSortedWalsOfType(), rocksdb::DeleteFileTest::CheckFileTypeCounts(), rocksdb::CorruptionTest::Corrupt(), rocksdb::DBImpl::DeleteFile(), DestroyDB(), GetLogDirSize(), ListLogFiles(), OldLogFileCount(), rocksdb::DBImpl::PurgeObsoleteFiles(), rocksdb::DBImpl::PurgeObsoleteWALFiles(), rocksdb::DBImpl::Recover(), and TEST().


|
inline |
Definition at line 158 of file dbformat.h.
References rocksdb::Slice::data(), DecodeFixed64(), kValueTypeForSeek, rocksdb::ParsedInternalKey::sequence, rocksdb::Slice::size(), rocksdb::ParsedInternalKey::type, and rocksdb::ParsedInternalKey::user_key.
Referenced by rocksdb::InternalKeyPropertiesCollector::Add(), rocksdb::UserKeyTablePropertiesCollector::Add(), rocksdb::DBTest::AllEntriesFor(), BuildTable(), rocksdb::InternalKey::DebugString(), rocksdb::InternalDumpCommand::DoCommand(), rocksdb::DBImpl::DoCompactionWork(), rocksdb::KeyConvertingIterator::key(), rocksdb::MergeHelper::MergeUntil(), PrintContents(), rocksdb::SstFileReader::ReadSequential(), SaveValue(), TEST(), and TestKey().


| rocksdb::path_ | ( | "" | ) |
Definition at line 478 of file ldb_cmd.cc.
References rocksdb::LDBCommandExecuteResult::FAILED(), and verbose_().
Referenced by beast::ParsedURL::ParsedURL().


| void rocksdb::PrefixScanInit | ( | DBTest * | dbtest) |
Definition at line 4720 of file db_test.cc.
References ASSERT_OK, rocksdb::DBImpl::CompactRange(), rocksdb::DBTest::dbfull(), rocksdb::DBTest::Put(), and rocksdb::DBImpl::TEST_FlushMemTable().
Referenced by TEST().


| rocksdb::print_header_ | ( | false | ) |
| rocksdb::print_old_levels_ | ( | false | ) |
Definition at line 969 of file ldb_cmd.cc.
References rocksdb::LDBCommandExecuteResult::FAILED(), and new_levels_().

| rocksdb::print_stats_ | ( | false | ) |
Definition at line 763 of file ldb_cmd.cc.
References count_delim_(), count_only_(), delim_(), rocksdb::LDBCommandExecuteResult::FAILED(), HexToString(), max_keys_(), null_from_(), and null_to_().
Referenced by is_input_key_hex_().


| rocksdb::print_values_ | ( | false | ) |
Definition at line 1259 of file ldb_cmd.cc.
References rocksdb::LDBCommandExecuteResult::FAILED(), and print_header_().

| void rocksdb::PrintBucketCounts | ( | const vector< uint64_t > & | bucket_counts, |
| int | ttl_start, | ||
| int | ttl_end, | ||
| int | bucket_size, | ||
| int | num_buckets | ||
| ) |
Definition at line 572 of file ldb_cmd.cc.
References ReadableTime().
Referenced by rocksdb::DBDumperCommand::DoCommand().


|
static |
Definition at line 22 of file write_batch_test.cc.
References ASSERT_TRUE, BytewiseComparator(), rocksdb::WriteBatchInternal::Count(), rocksdb::WriteBatchInternal::InsertInto(), rocksdb::Iterator::key(), kTypeDeletion, kTypeLogData, kTypeMerge, kTypeValue, mem, rocksdb::Iterator::Next(), NumberToString(), rocksdb::Status::ok(), ParseInternalKey(), rocksdb::Iterator::SeekToFirst(), rocksdb::ParsedInternalKey::sequence, rocksdb::Slice::ToString(), rocksdb::Status::ToString(), rocksdb::ParsedInternalKey::type, rocksdb::ParsedInternalKey::user_key, rocksdb::Iterator::Valid(), and rocksdb::Iterator::value().
Referenced by TEST().


| void rocksdb::ProfileKeyComparison | ( | ) |
Definition at line 167 of file perf_context_test.cc.
References rocksdb::HistogramImpl::Add(), db, DestroyDB(), FLAGS_random_key, FLAGS_total_keys, rocksdb::DBImpl::Get(), kDbName, OpenDb(), perf_context, rocksdb::DBImpl::Put(), rocksdb::PerfContext::Reset(), beast::IP::to_string(), rocksdb::HistogramImpl::ToString(), rocksdb::PerfContext::user_key_comparison_count, and value.
Referenced by TEST().


| void rocksdb::PutFixed32 | ( | std::string * | dst, |
| uint32_t | value | ||
| ) |
Definition at line 42 of file coding.cc.
References EncodeFixed32(), and value.
Referenced by rocksdb::SimpleTableBuilder::Add(), rocksdb::TestHashFilter::CreateFilter(), EncodeKey(), rocksdb::Footer::EncodeTo(), rocksdb::BlockBuilder::Finish(), rocksdb::FilterBlockBuilder::Finish(), TEST(), and rocksdb::Blob::ToString().


| void rocksdb::PutFixed64 | ( | std::string * | dst, |
| uint64_t | value | ||
| ) |
Definition at line 48 of file coding.cc.
References EncodeFixed64(), and value.
Referenced by rocksdb::SimpleTableBuilder::Add(), AppendInternalKey(), rocksdb::InternalKeyComparator::FindShortestSeparator(), rocksdb::InternalKeyComparator::FindShortSuccessor(), rocksdb::SimpleTableBuilder::Finish(), Key(), and TEST().


| void rocksdb::PutLengthPrefixedSlice | ( | std::string * | dst, |
| const Slice & | value | ||
| ) |
Definition at line 105 of file coding.cc.
References rocksdb::Slice::data(), PutVarint32(), and rocksdb::Slice::size().
Referenced by rocksdb::WriteBatch::Delete(), rocksdb::VersionEdit::EncodeTo(), rocksdb::WriteBatch::Merge(), rocksdb::WriteBatch::Put(), rocksdb::WriteBatch::PutLogData(), and TEST().


| void rocksdb::PutLengthPrefixedSliceParts | ( | std::string * | dst, |
| const SliceParts & | slice_parts | ||
| ) |
Definition at line 110 of file coding.cc.
References rocksdb::Slice::data(), rocksdb::SliceParts::num_parts, rocksdb::SliceParts::parts, PutVarint32(), and rocksdb::Slice::size().
Referenced by rocksdb::WriteBatch::Put().


| void rocksdb::PutVarint32 | ( | std::string * | dst, |
| uint32_t | v | ||
| ) |
Definition at line 82 of file coding.cc.
References EncodeVarint32().
Referenced by rocksdb::BlockBuilder::Add(), EncodeKey(), rocksdb::VersionEdit::EncodeTo(), rocksdb::RegularKeysStartWithA::Finish(), PutLengthPrefixedSlice(), PutLengthPrefixedSliceParts(), and TEST().


| void rocksdb::PutVarint64 | ( | std::string * | dst, |
| uint64_t | v | ||
| ) |
Definition at line 99 of file coding.cc.
References EncodeVarint64().
Referenced by rocksdb::BlockHandle::EncodeTo(), rocksdb::VersionEdit::EncodeTo(), rocksdb::InternalKeyPropertiesCollector::Finish(), and TEST().


|
static |
Definition at line 4532 of file db_test.cc.
References rocksdb::Random::OneIn(), rocksdb::test::RandomKey(), rocksdb::Random::Skewed(), and rocksdb::Random::Uniform().
Referenced by TEST().


|
static |
Definition at line 23 of file block_test.cc.
References rocksdb::test::RandomString().

|
static |
Definition at line 52 of file db_test.cc.
References rocksdb::test::RandomString().
Referenced by DataPumpThreadBody(), MinLevelHelper(), TEST(), and WorkerThreadBody().


|
static |
Definition at line 749 of file simple_table_db_test.cc.
References rocksdb::test::RandomString().

|
static |
Definition at line 864 of file table_test.cc.
References rocksdb::test::RandomString().

| string rocksdb::ReadableTime | ( | int | unixtime) |
Definition at line 554 of file ldb_cmd.cc.
Referenced by rocksdb::DBDumperCommand::DoCommand(), rocksdb::ScanCommand::DoCommand(), and PrintBucketCounts().

| Status rocksdb::ReadBlockContents | ( | RandomAccessFile * | file, |
| const ReadOptions & | options, | ||
| const BlockHandle & | handle, | ||
| BlockContents * | result, | ||
| Env * | env, | ||
| bool | do_uncompress | ||
| ) |
Definition at line 75 of file format.cc.
References rocksdb::PerfContext::block_checksum_time, rocksdb::PerfContext::block_decompress_time, rocksdb::PerfContext::block_read_byte, rocksdb::PerfContext::block_read_count, rocksdb::PerfContext::block_read_time, BumpPerfCount(), BumpPerfTime(), rocksdb::BlockContents::cachable, rocksdb::BlockContents::compression_type, rocksdb::Status::Corruption(), rocksdb::BlockContents::data, DecodeFixed32(), rocksdb::BlockContents::heap_allocated, kBlockTrailerSize, kNoCompression, rocksdb::BlockHandle::offset(), rocksdb::Status::OK(), rocksdb::Status::ok(), perf_context, rocksdb::RandomAccessFile::Read(), rocksdb::BlockHandle::size(), StartPerfTimer(), UncompressBlockContents(), rocksdb::crc32c::Unmask(), rocksdb::crc32c::Value(), and rocksdb::ReadOptions::verify_checksums.
Referenced by rocksdb::BlockBasedTable::ReadFilter(), and rocksdb::BlockBasedTable::ReadProperties().


| Status rocksdb::ReadFileToString | ( | Env * | env, |
| const std::string & | fname, | ||
| std::string * | data | ||
| ) |
Definition at line 92 of file env.cc.
References rocksdb::Slice::data(), rocksdb::Slice::empty(), rocksdb::Env::NewSequentialFile(), rocksdb::Status::ok(), rocksdb::SequentialFile::Read(), and rocksdb::Slice::size().
Referenced by rocksdb::CorruptionTest::Corrupt(), rocksdb::Env::GenerateUniqueId(), and rocksdb::VersionSet::Recover().


| SequenceNumber rocksdb::ReadRecords | ( | std::unique_ptr< TransactionLogIterator > & | iter, |
| int & | count | ||
| ) |
Definition at line 3994 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, rocksdb::TransactionLogIterator::GetBatch(), rocksdb::TransactionLogIterator::Next(), rocksdb::BatchResult::sequence, rocksdb::TransactionLogIterator::status(), and rocksdb::TransactionLogIterator::Valid().
Referenced by ExpectRecords(), and TEST().


|
inline |
Definition at line 280 of file statistics.h.
References HISTOGRAM_ENUM_MAX, HistogramsNameMap, TICKER_ENUM_MAX, and TickersNameMap.
Referenced by rocksdb::BlockBasedTable::BlockReader(), rocksdb::DBImpl::DoCompactionWork(), rocksdb::TableCache::FindTable(), rocksdb::BlockBasedTable::Get(), rocksdb::Version::Get(), rocksdb::MemTable::Get(), rocksdb::BlockBasedTable::GetBlock(), rocksdb::BlockBasedTable::GetFilter(), rocksdb::DBImpl::GetImpl(), rocksdb::DBImpl::GetUpdatesSince(), rocksdb::DBImpl::MakeRoomForWrite(), rocksdb::MergeHelper::MergeUntil(), rocksdb::DBImpl::MultiGet(), rocksdb::BlockBasedTable::PrefixMayMatch(), SaveValue(), and rocksdb::DBImpl::Write().

| Status rocksdb::RepairDB | ( | const std::string & | dbname, |
| const Options & | options | ||
| ) |
Definition at line 385 of file repair.cc.
Referenced by leveldb_repair_db(), rocksdb::CorruptionTest::RepairDB(), and TEST().

|
static |
Definition at line 353 of file skiplist_test.cc.
References ConcurrentReader(), rocksdb::Env::Default(), rocksdb::TestState::DONE, rocksdb::TestState::quit_flag_, rocksdb::test::RandomSeed(), rocksdb::port::AtomicPointer::Release_Store(), rocksdb::TestState::RUNNING, rocksdb::Env::Schedule(), rocksdb::TestState::t_, rocksdb::TestState::Wait(), and rocksdb::ConcurrentTest::WriteStep().
Referenced by TEST().


| Options rocksdb::SanitizeOptions | ( | const std::string & | dbname, |
| const InternalKeyComparator * | icmp, | ||
| const InternalFilterPolicy * | ipolicy, | ||
| const Options & | src | ||
| ) |
Definition at line 120 of file db_impl.cc.
References rocksdb::Options::arena_block_size, rocksdb::Options::block_cache, rocksdb::Options::block_size, rocksdb::Options::block_size_deviation, ClipToRange(), rocksdb::Options::compaction_filter, rocksdb::Options::comparator, rocksdb::Options::compression_per_level, CreateLoggerFromOptions(), rocksdb::Options::db_log_dir, dbname, rocksdb::Options::env, rocksdb::Options::filter_policy, rocksdb::Options::hard_rate_limit, rocksdb::Options::info_log, Log(), rocksdb::Options::max_mem_compaction_level, rocksdb::Options::max_open_files, rocksdb::Options::max_write_buffer_number, rocksdb::Options::memtable_factory, ripple::min(), rocksdb::Options::min_write_buffer_number_to_merge, NewLRUCache(), rocksdb::Options::no_block_cache, rocksdb::Options::num_levels, rocksdb::Status::ok(), rocksdb::Options::prefix_extractor, rocksdb::Options::soft_rate_limit, rocksdb::Options::table_properties_collectors, rocksdb::Options::wal_dir, and rocksdb::Options::write_buffer_size.
Referenced by DestroyDB(), and TEST().


| bool rocksdb::SaveDidIO | ( | void * | arg, |
| const Slice & | key, | ||
| const Slice & | value, | ||
| bool | didIO | ||
| ) |
Definition at line 1053 of file block_based_table_reader.cc.
References arg.
Referenced by rocksdb::BlockBasedTable::TEST_KeyInCache().

|
static |
Definition at line 310 of file version_set.cc.
References arg, rocksdb::Slice::data(), didIO, kTypeDeletion, kTypeLogData, kTypeMerge, kTypeValue, NUMBER_MERGE_FAILURES, ParseInternalKey(), RecordTick(), rocksdb::Slice::size(), beast::asio::swap(), rocksdb::Slice::ToString(), rocksdb::ParsedInternalKey::type, and rocksdb::ParsedInternalKey::user_key.
Referenced by rocksdb::Version::Get().


|
static |
Definition at line 34 of file env_test.cc.
Referenced by TEST().

| Status rocksdb::SetCurrentFile | ( | Env * | env, |
| const std::string & | dbname, | ||
| uint64_t | descriptor_number | ||
| ) |
Definition at line 233 of file filename.cc.
References CurrentFileName(), rocksdb::Env::DeleteFile(), DescriptorFileName(), rocksdb::Status::ok(), rocksdb::Slice::remove_prefix(), rocksdb::Env::RenameFile(), rocksdb::Slice::starts_with(), TempFileName(), rocksdb::Slice::ToString(), and WriteStringToFileSync().
Referenced by rocksdb::VersionSet::LogAndApply(), and rocksdb::DBImpl::NewDB().


| Status rocksdb::SetIdentityFile | ( | Env * | env, |
| const std::string & | dbname | ||
| ) |
Definition at line 251 of file filename.cc.
References rocksdb::Env::DeleteFile(), rocksdb::Env::GenerateUniqueId(), IdentityFileName(), rocksdb::Status::ok(), rocksdb::Env::RenameFile(), TempFileName(), and WriteStringToFileSync().
Referenced by rocksdb::DBImpl::Recover().


| void rocksdb::SetPerfLevel | ( | PerfLevel | level) |
Definition at line 13 of file perf_context.cc.
References perf_level.
Referenced by TEST().

|
inline |
Definition at line 290 of file statistics.h.
References HISTOGRAM_ENUM_MAX, HistogramsNameMap, TICKER_ENUM_MAX, and TickersNameMap.
Referenced by rocksdb::DBImpl::Recover(), and rocksdb::DBImpl::Write().

|
static |
Definition at line 24 of file dbformat_test.cc.
References BytewiseComparator(), and rocksdb::InternalKeyComparator::FindShortestSeparator().
Referenced by TEST().


|
static |
Definition at line 30 of file dbformat_test.cc.
References BytewiseComparator(), and rocksdb::InternalKeyComparator::FindShortSuccessor().
Referenced by TEST().


|
inline |
Definition at line 43 of file prefix_test.cc.
References rocksdb::Slice::data().
Referenced by rocksdb::TestKeyComparator::Compare(), and TEST().


|
static |
Definition at line 34 of file db_test.cc.
References rocksdb::Slice::data(), Json::in(), rocksdb::Slice::size(), and rocksdb::port::Snappy_Compress().
Referenced by GenerateArgList(), MinLevelToCompress(), and TEST().


|
static |
Definition at line 452 of file table_test.cc.
References rocksdb::Slice::data(), Json::in(), rocksdb::Slice::size(), and rocksdb::port::Snappy_Compress().

| bool rocksdb::SomeFileOverlapsRange | ( | const InternalKeyComparator & | icmp, |
| bool | disjoint_sorted_files, | ||
| const std::vector< FileMetaData * > & | files, | ||
| const Slice * | smallest_user_key, | ||
| const Slice * | largest_user_key | ||
| ) |
Definition at line 95 of file version_set.cc.
References AfterFile(), BeforeFile(), rocksdb::InternalKey::Encode(), ripple::f, FindFile(), kMaxSequenceNumber, kValueTypeForSeek, ucmp, and rocksdb::InternalKeyComparator::user_comparator().
Referenced by rocksdb::Version::OverlapInLevel(), and rocksdb::FindFileTest::Overlaps().


| rocksdb::start_key_specified_ | ( | false | ) |
|
inline |
Definition at line 14 of file perf_context_imp.h.
References kEnableTime, perf_level, and rocksdb::StopWatchNano::Start().
Referenced by ReadBlockContents(), and rocksdb::DBImpl::Write().


| std::vector< std::string > rocksdb::stringSplit | ( | string | arg, |
| char | delim | ||
| ) |
Definition at line 17 of file string_util.cc.
Referenced by rocksdb::LDBCommand::InitFromCmdLineArgs(), and main().

| std::string rocksdb::TableFileName | ( | const std::string & | name, |
| uint64_t | number | ||
| ) |
Definition at line 73 of file filename.cc.
References MakeFileName().
Referenced by BuildTable(), rocksdb::TableCache::FindTable(), rocksdb::DBImpl::GetLiveFiles(), rocksdb::VersionSet::GetLiveFilesMetaData(), rocksdb::DBImpl::OpenCompactionOutputFile(), rocksdb::DBImpl::PurgeObsoleteFiles(), and TEST().


| void rocksdb::TableReaderBenchmark | ( | Options & | opts, |
| EnvOptions & | env_options, | ||
| ReadOptions & | read_options, | ||
| int | num_keys1, | ||
| int | num_keys2, | ||
| int | num_iter, | ||
| int | prefix_len, | ||
| bool | if_query_empty_keys, | ||
| bool | for_iterator, | ||
| bool | through_db | ||
| ) |
Definition at line 54 of file table_reader_bench.cc.
References rocksdb::TableBuilder::Add(), rocksdb::HistogramImpl::Add(), arg, ASSERT_OK, ASSERT_TRUE, rocksdb::WritableFile::Close(), db, dbname, rocksdb::Env::Default(), rocksdb::Env::DeleteFile(), DestroyDB(), DummySaveValue(), env, rocksdb::TableBuilder::Finish(), rocksdb::DB::Flush(), rocksdb::TableReader::Get(), rocksdb::DB::Get(), rocksdb::Env::GetFileSize(), rocksdb::Iterator::key(), kNoCompression, MakeKey(), rocksdb::TableReader::NewIterator(), rocksdb::DB::NewIterator(), rocksdb::Env::NewRandomAccessFile(), rocksdb::Env::NewWritableFile(), rocksdb::Iterator::Next(), rocksdb::Env::NowMicros(), rocksdb::DB::Open(), std::chrono::prefix, rocksdb::ReadOptions::prefix, rocksdb::DB::Put(), rocksdb::Iterator::Seek(), rocksdb::Options::table_factory, rocksdb::test::TmpDir(), rocksdb::HistogramImpl::ToString(), rocksdb::Random::Uniform(), and rocksdb::Iterator::Valid().
Referenced by main().


| std::string rocksdb::TempFileName | ( | const std::string & | dbname, |
| uint64_t | number | ||
| ) |
Definition at line 94 of file filename.cc.
References MakeFileName().
Referenced by SetCurrentFile(), SetIdentityFile(), and TEST().


| rocksdb::TEST | ( | HistogramTest | , |
| BasicOperation | |||
| ) |
Definition at line 14 of file histogram_test.cc.
References rocksdb::HistogramImpl::Add(), ASSERT_EQ, ASSERT_GT, ASSERT_LE, ASSERT_TRUE, rocksdb::HistogramImpl::Average(), rocksdb::HistogramImpl::Median(), and rocksdb::HistogramImpl::Percentile().

| rocksdb::TEST | ( | ArenaImplTest | , |
| Empty | |||
| ) |
Definition at line 18 of file arena_test.cc.
| rocksdb::TEST | ( | Coding | , |
| Fixed32 | |||
| ) |
Definition at line 18 of file coding_test.cc.
References ASSERT_EQ, DecodeFixed32(), and PutFixed32().

| rocksdb::TEST | ( | BlobStoreTest | , |
| RangeParseTest | |||
| ) |
Definition at line 20 of file blob_store_test.cc.
References ASSERT_EQ, rocksdb::Blob::chunks, rand, and rocksdb::Blob::ToString().

| rocksdb::TEST | ( | FileNameTest | , |
| Parse | |||
| ) |
Definition at line 21 of file filename_test.cc.
References ASSERT_EQ, ASSERT_TRUE, db, ripple::f, kCurrentFile, kDBLockFile, kDescriptorFile, kInfoLogFile, kLogFile, kMetaDatabase, kTableFile, and ParseFileName().

| rocksdb::TEST | ( | ArenaImplTest | , |
| MemoryAllocatedBytes | |||
| ) |
Definition at line 22 of file arena_test.cc.
References rocksdb::ArenaImpl::Allocate(), ASSERT_EQ, and rocksdb::ArenaImpl::MemoryAllocatedBytes().

| rocksdb::TEST | ( | VersionEditTest | , |
| EncodeDecode | |||
| ) |
Definition at line 27 of file version_edit_test.cc.
References rocksdb::VersionEdit::AddFile(), rocksdb::VersionEdit::DeleteFile(), kTypeDeletion, kTypeValue, rocksdb::VersionEdit::SetCompactPointer(), rocksdb::VersionEdit::SetComparatorName(), rocksdb::VersionEdit::SetLastSequence(), rocksdb::VersionEdit::SetLogNumber(), rocksdb::VersionEdit::SetNextFile(), and TestEncodeDecode().

| rocksdb::TEST | ( | MemEnvTest | , |
| Basics | |||
| ) |
Definition at line 30 of file memenv_test.cc.
References rocksdb::WritableFile::Append(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::Env::CreateDir(), rocksdb::Env::DeleteDir(), rocksdb::Env::DeleteFile(), env_, rocksdb::Env::FileExists(), rocksdb::Env::GetChildren(), rocksdb::Env::GetFileSize(), rocksdb::Env::NewRandomAccessFile(), rocksdb::Env::NewSequentialFile(), rocksdb::Env::NewWritableFile(), rocksdb::Status::ok(), rocksdb::Env::RenameFile(), and soptions_.

| rocksdb::TEST | ( | BlockTest | , |
| SimpleTest | |||
| ) |
Definition at line 32 of file block_test.cc.
References rocksdb::BlockBuilder::Add(), ASSERT_EQ, ASSERT_TRUE, rocksdb::BlockContents::cachable, rocksdb::Options::comparator, rocksdb::BlockContents::data, rocksdb::BlockBuilder::Finish(), rocksdb::BlockContents::heap_allocated, rocksdb::Iterator::key(), rocksdb::Block::NewIterator(), rocksdb::Iterator::Next(), RandomString(), rocksdb::Iterator::Seek(), rocksdb::Iterator::SeekToFirst(), rocksdb::Slice::ToString(), rocksdb::Random::Uniform(), rocksdb::Iterator::Valid(), rocksdb::Iterator::value(), and value.

| rocksdb::TEST | ( | BlobStoreTest | , |
| SanityTest | |||
| ) |
Definition at line 32 of file blob_store_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Blob::chunks, rocksdb::Env::Default(), rocksdb::BlobStore::Delete(), rocksdb::BlobStore::Put(), rocksdb::test::RandomString(), and rocksdb::test::TmpDir().

| rocksdb::TEST | ( | Coding | , |
| Fixed64 | |||
| ) |
Definition at line 32 of file coding_test.cc.
References ASSERT_EQ, DecodeFixed64(), and PutFixed64().

| rocksdb::TEST | ( | SkipTest | , |
| Empty | |||
| ) |
Definition at line 36 of file skiplist_test.cc.
References ASSERT_TRUE, and rocksdb::SkipList< Key, Comparator >::Contains().

| rocksdb::TEST | ( | EnvPosixTest | , |
| RunImmediately | |||
| ) |
Definition at line 38 of file env_test.cc.
References ASSERT_TRUE, rocksdb::Env::Default(), env_, kDelayMicros, rocksdb::port::AtomicPointer::NoBarrier_Load(), rocksdb::Env::Schedule(), SetBool(), and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | LockTest | , |
| LockBySameThread | |||
| ) |
| rocksdb::TEST | ( | HistogramTest | , |
| EmptyHistogram | |||
| ) |
Definition at line 40 of file histogram_test.cc.
References ASSERT_EQ, rocksdb::HistogramImpl::Average(), rocksdb::HistogramImpl::Median(), and rocksdb::HistogramImpl::Percentile().

| rocksdb::TEST | ( | EnvPosixTest | , |
| RunMany | |||
| ) |
Definition at line 45 of file env_test.cc.
References rocksdb::port::AtomicPointer::Acquire_Load(), ASSERT_EQ, rocksdb::Env::Default(), env_, id, kDelayMicros, rocksdb::Env::Schedule(), and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | HistogramTest | , |
| ClearHistogram | |||
| ) |
Definition at line 47 of file histogram_test.cc.
References rocksdb::HistogramImpl::Add(), ASSERT_EQ, rocksdb::HistogramImpl::Average(), rocksdb::HistogramImpl::Clear(), rocksdb::HistogramImpl::Median(), and rocksdb::HistogramImpl::Percentile().

| rocksdb::TEST | ( | PerfContextTest | , |
| SeekIntoDeletion | |||
| ) |
Definition at line 52 of file perf_context_test.cc.
References rocksdb::HistogramImpl::Add(), ASSERT_TRUE, db, rocksdb::Env::Default(), rocksdb::DBImpl::Delete(), DestroyDB(), rocksdb::StopWatchNano::ElapsedNanos(), FLAGS_total_keys, rocksdb::DBImpl::Get(), rocksdb::PerfContext::internal_delete_skipped_count, rocksdb::PerfContext::internal_key_skipped_count, kDbName, rocksdb::DBImpl::NewIterator(), OpenDb(), perf_context, rocksdb::DBImpl::Put(), rocksdb::PerfContext::Reset(), beast::IP::to_string(), rocksdb::HistogramImpl::ToString(), rocksdb::PerfContext::user_key_comparison_count, and value.

| rocksdb::TEST | ( | SkipTest | , |
| InsertAndLookup | |||
| ) |
Definition at line 52 of file skiplist_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::SkipList< Key, Comparator >::Contains(), rocksdb::SkipList< Key, Comparator >::Insert(), rocksdb::SkipList< Key, Comparator >::Iterator::key(), rocksdb::Random::Next(), rocksdb::SkipList< Key, Comparator >::Iterator::Next(), rocksdb::SkipList< Key, Comparator >::Iterator::Prev(), R, rocksdb::SkipList< Key, Comparator >::Iterator::Seek(), rocksdb::SkipList< Key, Comparator >::Iterator::SeekToFirst(), rocksdb::SkipList< Key, Comparator >::Iterator::SeekToLast(), and rocksdb::SkipList< Key, Comparator >::Iterator::Valid().

| rocksdb::TEST | ( | RedisListsTest | , |
| SimpleTest | |||
| ) |
Definition at line 53 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, AssertListEq(), rocksdb::RedisLists::Index(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PushRight(), and rocksdb::RedisLists::Range().

| rocksdb::TEST | ( | FormatTest | , |
| InternalKey_EncodeDecode | |||
| ) |
Definition at line 54 of file dbformat_test.cc.
References kTypeDeletion, kTypeValue, and TestKey().

| rocksdb::TEST | ( | FindFileTest | , |
| Empty | |||
| ) |
| rocksdb::TEST | ( | FilterBlockTest | , |
| EmptyBuilder | |||
| ) |
Definition at line 57 of file filter_block_test.cc.
References ASSERT_EQ, ASSERT_TRUE, EscapeString(), rocksdb::FilterBlockBuilder::Finish(), rocksdb::FilterBlockReader::KeyMayMatch(), and options_.

| rocksdb::TEST | ( | ArenaImplTest | , |
| Simple | |||
| ) |
Definition at line 60 of file arena_test.cc.
References rocksdb::ArenaImpl::Allocate(), rocksdb::ArenaImpl::AllocateAligned(), rocksdb::ArenaImpl::ApproximateMemoryUsage(), ASSERT_EQ, ASSERT_GE, ASSERT_LE, rocksdb::Random::OneIn(), and rocksdb::Random::Uniform().

| rocksdb::TEST | ( | Coding | , |
| EncodingOutput | |||
| ) |
Definition at line 60 of file coding_test.cc.
References ASSERT_EQ, PutFixed32(), and PutFixed64().

| rocksdb::TEST | ( | FindFileTest | , |
| Single | |||
| ) |
| rocksdb::TEST | ( | FilterBlockTest | , |
| SingleChunk | |||
| ) |
Definition at line 66 of file filter_block_test.cc.
References rocksdb::FilterBlockBuilder::AddKey(), ASSERT_TRUE, rocksdb::FilterBlockBuilder::Finish(), rocksdb::FilterBlockReader::KeyMayMatch(), options_, and rocksdb::FilterBlockBuilder::StartBlock().

| rocksdb::TEST | ( | FormatTest | , |
| InternalKeyShortSeparator | |||
| ) |
Definition at line 70 of file dbformat_test.cc.
References ASSERT_EQ, IKey(), kMaxSequenceNumber, kTypeDeletion, kTypeValue, kValueTypeForSeek, and Shorten().

| rocksdb::TEST | ( | WriteBatchTest | , |
| Empty | |||
| ) |
Definition at line 78 of file write_batch_test.cc.
References ASSERT_EQ, rocksdb::WriteBatchInternal::Count(), rocksdb::WriteBatch::Count(), and PrintContents().

| rocksdb::TEST | ( | Coding | , |
| Varint32 | |||
| ) |
Definition at line 82 of file coding_test.cc.
References ASSERT_EQ, ASSERT_TRUE, GetVarint32Ptr(), PutVarint32(), and VarintLength().

| rocksdb::TEST | ( | RedisListsTest | , |
| SimpleTest2 | |||
| ) |
Definition at line 82 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, AssertListEq(), rocksdb::RedisLists::Index(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PushLeft(), and rocksdb::RedisLists::Range().

| rocksdb::TEST | ( | WriteBatchTest | , |
| Multiple | |||
| ) |
Definition at line 85 of file write_batch_test.cc.
References ASSERT_EQ, rocksdb::WriteBatchInternal::Count(), rocksdb::WriteBatch::Count(), rocksdb::WriteBatch::Delete(), PrintContents(), rocksdb::WriteBatch::Put(), rocksdb::WriteBatchInternal::Sequence(), and rocksdb::WriteBatchInternal::SetSequence().

| rocksdb::TEST | ( | FilterBlockTest | , |
| MultiChunk | |||
| ) |
Definition at line 87 of file filter_block_test.cc.
References rocksdb::FilterBlockBuilder::AddKey(), ASSERT_TRUE, rocksdb::FilterBlockBuilder::Finish(), rocksdb::FilterBlockReader::KeyMayMatch(), options_, and rocksdb::FilterBlockBuilder::StartBlock().

| rocksdb::TEST | ( | FileNameTest | , |
| Construction | |||
| ) |
Definition at line 88 of file filename_test.cc.
References ASSERT_EQ, ASSERT_TRUE, CurrentFileName(), DescriptorFileName(), kCurrentFile, kDBLockFile, kDescriptorFile, kLogFile, kMetaDatabase, kTableFile, kTempFile, LockFileName(), LogFileName(), MetaDatabaseName(), ParseFileName(), TableFileName(), and TempFileName().

| rocksdb::TEST | ( | EnvPosixTest | , |
| StartThread | |||
| ) |
Definition at line 91 of file env_test.cc.
References ASSERT_EQ, rocksdb::Env::Default(), env_, kDelayMicros, rocksdb::port::Mutex::Lock(), rocksdb::State::mu, rocksdb::State::num_running, rocksdb::Env::SleepForMicroseconds(), rocksdb::Env::StartThread(), ThreadBody(), rocksdb::port::Mutex::Unlock(), and rocksdb::State::val.

| rocksdb::TEST | ( | MemEnvTest | , |
| ReadWrite | |||
| ) |
Definition at line 91 of file memenv_test.cc.
References rocksdb::WritableFile::Append(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::Slice::compare(), rocksdb::Env::CreateDir(), env_, rocksdb::Env::NewRandomAccessFile(), rocksdb::Env::NewSequentialFile(), rocksdb::Env::NewWritableFile(), rocksdb::Status::ok(), rocksdb::SequentialFile::Read(), rocksdb::RandomAccessFile::Read(), rocksdb::Slice::size(), rocksdb::SequentialFile::Skip(), and soptions_.

| rocksdb::TEST | ( | BloomTest | , |
| EmptyFilter | |||
| ) |
Definition at line 92 of file bloom_test.cc.
References ASSERT_TRUE.
| rocksdb::TEST | ( | BlobStoreTest | , |
| FragmentedChunksTest | |||
| ) |
Definition at line 94 of file blob_store_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Blob::chunks, rocksdb::Env::Default(), rocksdb::BlobStore::Delete(), rocksdb::BlobStore::Put(), rocksdb::test::RandomString(), and rocksdb::test::TmpDir().

| rocksdb::TEST | ( | FindFileTest | , |
| Multiple | |||
| ) |
| rocksdb::TEST | ( | ReduceLevelTest | , |
| Last_Level | |||
| ) |
Definition at line 96 of file reduce_levels_test.cc.
References ASSERT_EQ, ASSERT_OK, and ASSERT_TRUE.
| rocksdb::TEST | ( | BloomTest | , |
| Small | |||
| ) |
| rocksdb::TEST | ( | WriteBatchTest | , |
| Corruption | |||
| ) |
Definition at line 100 of file write_batch_test.cc.
References ASSERT_EQ, rocksdb::WriteBatchInternal::Contents(), rocksdb::Slice::data(), rocksdb::WriteBatch::Delete(), PrintContents(), rocksdb::WriteBatch::Put(), rocksdb::WriteBatchInternal::SetContents(), rocksdb::WriteBatchInternal::SetSequence(), and rocksdb::Slice::size().

| rocksdb::TEST | ( | Coding | , |
| Varint64 | |||
| ) |
Definition at line 103 of file coding_test.cc.
References ASSERT_EQ, ASSERT_TRUE, GetVarint64Ptr(), PutVarint64(), and VarintLength().

| rocksdb::TEST | ( | FormatTest | , |
| InternalKeyShortestSuccessor | |||
| ) |
Definition at line 106 of file dbformat_test.cc.
References ASSERT_EQ, IKey(), kMaxSequenceNumber, kTypeValue, kValueTypeForSeek, and ShortSuccessor().

| rocksdb::TEST | ( | CacheTest | , |
| HitAndMiss | |||
| ) |
| rocksdb::TEST | ( | EnvPosixTest | , |
| TwoPools | |||
| ) |
Definition at line 110 of file env_test.cc.
References ASSERT_LE, rocksdb::Env::Default(), env_, kDelayMicros, mu_, rocksdb::Env::Schedule(), rocksdb::Env::SetBackgroundThreads(), and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | RedisListsTest | , |
| IndexTest | |||
| ) |
Definition at line 111 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::PushLeft(), and rocksdb::RedisLists::PushRight().

| rocksdb::TEST | ( | WriteBatchTest | , |
| Append | |||
| ) |
Definition at line 113 of file write_batch_test.cc.
References rocksdb::WriteBatchInternal::Append(), ASSERT_EQ, rocksdb::WriteBatch::Clear(), rocksdb::WriteBatch::Count(), rocksdb::WriteBatch::Delete(), PrintContents(), rocksdb::WriteBatch::Put(), and rocksdb::WriteBatchInternal::SetSequence().

| rocksdb::TEST | ( | ReduceLevelTest | , |
| Top_Level | |||
| ) |
Definition at line 115 of file reduce_levels_test.cc.
References ASSERT_EQ, ASSERT_OK, and ASSERT_TRUE.
| rocksdb::TEST | ( | BloomTest | , |
| VaryingLengths | |||
| ) |
Definition at line 119 of file bloom_test.cc.
References ASSERT_LE, ASSERT_TRUE, kVerbose, and NextLength().

| rocksdb::TEST | ( | AutoRollLoggerTest | , |
| RollLogFileBySize | |||
| ) |
Definition at line 126 of file auto_roll_logger_test.cc.
References logger.
| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| IteratorTest | |||
| ) |
Definition at line 129 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, db_, beast.util.Iter::first(), rocksdb::DBImpl::NewIterator(), and OpenDb().

| rocksdb::TEST | ( | PerfContextTest | , |
| StopWatchNanoOverhead | |||
| ) |
Definition at line 129 of file perf_context_test.cc.
References rocksdb::HistogramImpl::Add(), rocksdb::Env::Default(), rocksdb::StopWatchNano::ElapsedNanos(), and rocksdb::HistogramImpl::ToString().

| rocksdb::TEST | ( | MemEnvTest | , |
| Locks | |||
| ) |
Definition at line 131 of file memenv_test.cc.
References ASSERT_OK, env_, rocksdb::Env::LockFile(), and rocksdb::Env::UnlockFile().

| rocksdb::TEST | ( | CacheTest | , |
| Erase | |||
| ) |
| rocksdb::TEST | ( | PrefixTest | , |
| DynamicPrefixIterator | |||
| ) |
Definition at line 133 of file prefix_test.cc.
References rocksdb::HistogramImpl::Add(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db, rocksdb::Env::Default(), rocksdb::DBImpl::Delete(), DestroyDB(), rocksdb::StopWatchNano::ElapsedNanos(), kDbName, rocksdb::DBImpl::NewIterator(), OpenDb(), perf_context, rocksdb::TestKey::prefix, std::chrono::prefix, rocksdb::ReadOptions::prefix_seek, rocksdb::DBImpl::Put(), rocksdb::PerfContext::Reset(), SliceToTestKey(), TestKeyToSlice(), beast::IP::to_string(), rocksdb::HistogramImpl::ToString(), rocksdb::PerfContext::user_key_comparison_count, and value.

| rocksdb::TEST | ( | FindFileTest | , |
| MultipleNullBoundaries | |||
| ) |
| rocksdb::TEST | ( | BlobStoreTest | , |
| CreateAndStoreTest | |||
| ) |
Definition at line 134 of file blob_store_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Env::Default(), rocksdb::BlobStore::Delete(), rocksdb::BlobStore::Get(), rocksdb::BlobStore::Put(), rand, rocksdb::test::RandomString(), rocksdb::BlobStore::Sync(), and rocksdb::test::TmpDir().

| rocksdb::TEST | ( | ReduceLevelTest | , |
| All_Levels | |||
| ) |
Definition at line 136 of file reduce_levels_test.cc.
References ASSERT_EQ, ASSERT_OK, and ASSERT_TRUE.
| rocksdb::TEST | ( | AutoRollLoggerTest | , |
| RollLogFileByTime | |||
| ) |
Definition at line 137 of file auto_roll_logger_test.cc.
References ASSERT_TRUE, env, kLogFile, and logger.
| rocksdb::TEST | ( | Coding | , |
| Varint32Overflow | |||
| ) |
Definition at line 139 of file coding_test.cc.
References ASSERT_TRUE, and GetVarint32Ptr().

| rocksdb::TEST | ( | MemEnvTest | , |
| Misc | |||
| ) |
Definition at line 139 of file memenv_test.cc.
References ASSERT_OK, ASSERT_TRUE, env_, rocksdb::Env::GetTestDirectory(), rocksdb::Env::NewWritableFile(), and soptions_.

| rocksdb::TEST | ( | TablePropertiesTest | , |
| CustomizedTablePropertiesCollector | |||
| ) |
Definition at line 145 of file table_properties_collector_test.cc.
References rocksdb::TableBuilder::Add(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::FakeWritableFile::contents(), rocksdb::InternalKey::Encode(), rocksdb::TableBuilder::Finish(), GetVarint32(), kTypeValue, MakeBuilder(), OpenTable(), and rocksdb::Options::table_properties_collectors.

| rocksdb::TEST | ( | Coding | , |
| Varint32Truncation | |||
| ) |
Definition at line 146 of file coding_test.cc.
References ASSERT_EQ, ASSERT_TRUE, GetVarint32Ptr(), and PutVarint32().

| rocksdb::TEST | ( | DeleteFileTest | , |
| AddKeysAndQueryLevels | |||
| ) |
Definition at line 147 of file deletefile_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db_, rocksdb::DBImpl::DeleteFile(), rocksdb::DBImpl::GetLiveFilesMetaData(), and rocksdb::Status::IsInvalidArgument().

| rocksdb::TEST | ( | PerfContextTest | , |
| StopWatchOverhead | |||
| ) |
Definition at line 147 of file perf_context_test.cc.
References rocksdb::HistogramImpl::Add(), rocksdb::Env::Default(), rocksdb::StopWatch::ElapsedMicros(), and rocksdb::HistogramImpl::ToString().

| rocksdb::TEST | ( | AutoRollLoggerTest | , |
| OpenLogFilesMultipleTimesWithOptionLog_max_size | |||
| ) |
Definition at line 150 of file auto_roll_logger_test.cc.
References ASSERT_EQ, ASSERT_GT, rocksdb::AutoRollLogger::GetLogFileSize(), logger, and LogMessage().

| rocksdb::TEST | ( | CacheTest | , |
| EntriesArePinned | |||
| ) |
Definition at line 152 of file cache_test.cc.
References ASSERT_EQ, DecodeValue(), and EncodeKey().

| rocksdb::TEST | ( | FindFileTest | , |
| OverlapSequenceChecks | |||
| ) |
| rocksdb::TEST | ( | MemEnvTest | , |
| LargeWrite | |||
| ) |
Definition at line 154 of file memenv_test.cc.
References rocksdb::WritableFile::Append(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::Slice::compare(), rocksdb::Slice::data(), env_, rocksdb::Env::NewSequentialFile(), rocksdb::Env::NewWritableFile(), beast::asio::InputParser::read(), rocksdb::SequentialFile::Read(), rocksdb::Slice::size(), and soptions_.

| rocksdb::TEST | ( | Coding | , |
| Varint64Overflow | |||
| ) |
Definition at line 159 of file coding_test.cc.
References ASSERT_TRUE, and GetVarint64Ptr().

| rocksdb::TEST | ( | WriteBatchTest | , |
| Blob | |||
| ) |
Definition at line 161 of file write_batch_test.cc.
References ASSERT_EQ, rocksdb::WriteBatch::Count(), rocksdb::WriteBatch::Delete(), rocksdb::WriteBatch::Iterate(), rocksdb::WriteBatch::Merge(), PrintContents(), rocksdb::WriteBatch::Put(), and rocksdb::WriteBatch::PutLogData().

| rocksdb::TEST | ( | FindFileTest | , |
| OverlappingFiles | |||
| ) |
| rocksdb::TEST | ( | Coding | , |
| Varint64Truncation | |||
| ) |
Definition at line 166 of file coding_test.cc.
References ASSERT_EQ, ASSERT_TRUE, GetVarint64Ptr(), and PutVarint64().

| rocksdb::TEST | ( | RedisListsTest | , |
| RangeTest | |||
| ) |
Definition at line 170 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PushLeft(), rocksdb::RedisLists::PushRight(), and rocksdb::RedisLists::Range().

| rocksdb::TEST | ( | BlobStoreTest | , |
| MaxSizeTest | |||
| ) |
Definition at line 171 of file blob_store_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Env::Default(), rocksdb::Status::ok(), rocksdb::BlobStore::Put(), rocksdb::test::RandomString(), and rocksdb::test::TmpDir().

| rocksdb::TEST | ( | AutoRollLoggerTest | , |
| CompositeRollByTimeAndSizeLogger | |||
| ) |
| rocksdb::TEST | ( | CacheTest | , |
| EvictionPolicy | |||
| ) |
| rocksdb::TEST | ( | Coding | , |
| Strings | |||
| ) |
Definition at line 179 of file coding_test.cc.
References ASSERT_EQ, ASSERT_TRUE, GetLengthPrefixedSlice(), PutLengthPrefixedSlice(), and rocksdb::Slice::ToString().

| rocksdb::TEST | ( | MemEnvTest | , |
| DBTest | |||
| ) |
Definition at line 186 of file memenv_test.cc.
References ASSERT_OK, ASSERT_TRUE, rocksdb::Options::create_if_missing, db, rocksdb::Options::env, env_, rocksdb::DB::Get(), rocksdb::Iterator::key(), rocksdb::DB::NewIterator(), rocksdb::Iterator::Next(), rocksdb::DB::Open(), rocksdb::DB::Put(), rocksdb::Iterator::SeekToFirst(), rocksdb::DBImpl::TEST_FlushMemTable(), rocksdb::Iterator::Valid(), and rocksdb::Iterator::value().

| rocksdb::TEST | ( | CacheTest | , |
| EvictionPolicyRef | |||
| ) |
Definition at line 191 of file cache_test.cc.
References ASSERT_EQ, and EncodeKey().

| rocksdb::TEST | ( | WriteBatchTest | , |
| Continue | |||
| ) |
Definition at line 191 of file write_batch_test.cc.
References ASSERT_EQ, rocksdb::WriteBatch::Delete(), rocksdb::WriteBatch::Iterate(), rocksdb::WriteBatch::Merge(), rocksdb::WriteBatch::Put(), and rocksdb::WriteBatch::PutLogData().

| rocksdb::TEST | ( | AutoRollLoggerTest | , |
| CreateLoggerFromOptions | |||
| ) |
Definition at line 193 of file auto_roll_logger_test.cc.
References ASSERT_OK, ASSERT_TRUE, CreateLoggerFromOptions(), env, rocksdb::Options::log_file_time_to_roll, logger, and rocksdb::Options::max_log_file_size.

| rocksdb::TEST | ( | DeleteFileTest | , |
| PurgeObsoleteFilesTest | |||
| ) |
Definition at line 194 of file deletefile_test.cc.
References rocksdb::DBImpl::CompactRange(), db_, dbname_, beast.util.Iter::first(), rocksdb::DBImpl::NewIterator(), options_, and rocksdb::Options::wal_dir.

| rocksdb::TEST | ( | Coding | , |
| BitStream | |||
| ) |
Definition at line 199 of file coding_test.cc.
References ASSERT_EQ, BitStreamGetInt(), and BitStreamPutInt().

| rocksdb::TEST | ( | TablePropertiesTest | , |
| InternalKeyPropertiesCollector | |||
| ) |
Definition at line 200 of file table_properties_collector_test.cc.
References rocksdb::TableBuilder::Add(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, comparator, rocksdb::Options::comparator, rocksdb::FakeWritableFile::contents(), rocksdb::TableBuilder::Finish(), GetDeletedKeys(), GetVarint32(), rocksdb::Options::info_log, kTypeDeletion, kTypeValue, MakeBuilder(), OpenTable(), SanitizeOptions(), and rocksdb::Options::table_properties_collectors.

| rocksdb::TEST | ( | CorruptionTest | , |
| Recovery | |||
| ) |
Definition at line 201 of file corruption_test.cc.
References rocksdb::log::kBlockSize, and kLogFile.
| rocksdb::TEST | ( | PerfContextTest | , |
| KeyComparisonCount | |||
| ) |
Definition at line 207 of file perf_context_test.cc.
References kDisable, kEnableCount, kEnableTime, ProfileKeyComparison(), and SetPerfLevel().

| rocksdb::TEST | ( | CorruptionTest | , |
| RecoverWriteError | |||
| ) |
Definition at line 212 of file corruption_test.cc.
References ASSERT_TRUE, env_, and rocksdb::Status::ok().

| rocksdb::TEST | ( | CorruptionTest | , |
| NewFileErrorDuringWrite | |||
| ) |
Definition at line 218 of file corruption_test.cc.
References ASSERT_GE, ASSERT_TRUE, db_, env_, kValueSize, rocksdb::Status::ok(), rocksdb::WriteBatch::Put(), rocksdb::crc32c::Value(), rocksdb::DBImpl::Write(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | PrefixTest | , |
| PrefixHash | |||
| ) |
Definition at line 221 of file prefix_test.cc.
References rocksdb::HistogramImpl::Add(), ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db, rocksdb::Env::Default(), rocksdb::DBImpl::Delete(), DestroyDB(), rocksdb::StopWatchNano::ElapsedNanos(), kDbName, rocksdb::DBImpl::NewIterator(), OpenDb(), perf_context, rocksdb::TestKey::prefix, std::chrono::prefix, rocksdb::ReadOptions::prefix, rocksdb::DBImpl::Put(), rocksdb::PerfContext::Reset(), SliceToTestKey(), TestKeyToSlice(), beast::IP::to_string(), rocksdb::HistogramImpl::ToString(), rocksdb::PerfContext::user_key_comparison_count, and value.

| rocksdb::TEST | ( | DeleteFileTest | , |
| DeleteFileWithIterator | |||
| ) |
Definition at line 222 of file deletefile_test.cc.
References ASSERT_EQ, ASSERT_TRUE, db_, rocksdb::DBImpl::DeleteFile(), rocksdb::DBImpl::GetLiveFilesMetaData(), rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Status::ok(), rocksdb::Iterator::SeekToFirst(), rocksdb::Status::ToString(), and rocksdb::Iterator::Valid().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| SimpleTest | |||
| ) |
Definition at line 222 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, ASSERT_TRUE, db, rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | PerfContextTest | , |
| SeekKeyComparison | |||
| ) |
Definition at line 230 of file perf_context_test.cc.
References rocksdb::HistogramImpl::Add(), ASSERT_EQ, ASSERT_TRUE, db, rocksdb::Env::Default(), DestroyDB(), rocksdb::StopWatchNano::ElapsedNanos(), FLAGS_random_key, FLAGS_total_keys, kDbName, kEnableTime, rocksdb::DBImpl::NewIterator(), OpenDb(), perf_context, rocksdb::DBImpl::Put(), rocksdb::PerfContext::Reset(), SetPerfLevel(), rocksdb::StopWatchNano::Start(), beast::IP::to_string(), rocksdb::HistogramImpl::ToString(), rocksdb::PerfContext::user_key_comparison_count, value, and rocksdb::PerfContext::wal_write_time.

| rocksdb::TEST | ( | WriteBatchTest | , |
| PutGatherSlices | |||
| ) |
Definition at line 230 of file write_batch_test.cc.
References ASSERT_EQ, rocksdb::WriteBatch::Count(), PrintContents(), rocksdb::WriteBatch::Put(), and rocksdb::WriteBatchInternal::SetSequence().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| SimpleDelimiterTest | |||
| ) |
Definition at line 237 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, db, rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | CacheTest | , |
| EvictionPolicyRef2 | |||
| ) |
Definition at line 239 of file cache_test.cc.
References ASSERT_EQ, and EncodeKey().

| rocksdb::TEST | ( | CorruptionTest | , |
| TableFile | |||
| ) |
Definition at line 240 of file corruption_test.cc.
References db_, kTableFile, rocksdb::DBImpl::TEST_CompactRange(), and rocksdb::DBImpl::TEST_FlushMemTable().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| OneValueNoDelimiterTest | |||
| ) |
Definition at line 250 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, db, rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | CorruptionTest | , |
| TableFileIndexData | |||
| ) |
Definition at line 251 of file corruption_test.cc.
References db_, kTableFile, and rocksdb::DBImpl::TEST_FlushMemTable().

| rocksdb::TEST | ( | DeleteFileTest | , |
| DeleteLogFiles | |||
| ) |
Definition at line 253 of file deletefile_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, ASSERT_TRUE, db_, rocksdb::DBImpl::DeleteFile(), env_, rocksdb::Env::FileExists(), rocksdb::DBImpl::Flush(), rocksdb::DBImpl::GetSortedWalFiles(), kAliveLogFile, kArchivedLogFile, ripple::Resource::ok, options_, and rocksdb::Options::wal_dir.

| rocksdb::TEST | ( | RedisListsTest | , |
| InsertTest | |||
| ) |
Definition at line 253 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::InsertAfter(), rocksdb::RedisLists::InsertBefore(), rocksdb::RedisLists::Length(), and rocksdb::RedisLists::PushLeft().

| rocksdb::TEST | ( | Coding | , |
| BitStreamConvenienceFuncs | |||
| ) |
Definition at line 259 of file coding_test.cc.
References ASSERT_EQ, BitStreamGetInt(), and BitStreamPutInt().

| rocksdb::TEST | ( | CorruptionTest | , |
| MissingDescriptor | |||
| ) |
Definition at line 261 of file corruption_test.cc.
References RepairDB().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| VariousKeys | |||
| ) |
Definition at line 261 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, ASSERT_TRUE, db, rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | CorruptionTest | , |
| SequenceNumberRecovery | |||
| ) |
Definition at line 268 of file corruption_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::Get(), rocksdb::DBImpl::Put(), and RepairDB().

| rocksdb::TEST | ( | CacheTest | , |
| EvictionPolicyRefLargeScanLimit | |||
| ) |
Definition at line 269 of file cache_test.cc.
References ASSERT_EQ, and EncodeKey().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| RandomMixGetAppend | |||
| ) |
Definition at line 287 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, db, rocksdb::StringLists::Get(), OpenDb(), and rocksdb::Random::Uniform().

| rocksdb::TEST | ( | CorruptionTest | , |
| CorruptedDescriptor | |||
| ) |
Definition at line 289 of file corruption_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db_, rocksdb::DBImpl::Get(), kDescriptorFile, rocksdb::Status::ok(), rocksdb::DBImpl::Put(), RepairDB(), and rocksdb::DBImpl::TEST_FlushMemTable().

| rocksdb::TEST | ( | SkipTest | , |
| ConcurrentWithoutThreads | |||
| ) |
Definition at line 293 of file skiplist_test.cc.
References rocksdb::test::RandomSeed(), rocksdb::ConcurrentTest::ReadStep(), test, and rocksdb::ConcurrentTest::WriteStep().

| rocksdb::TEST | ( | CorruptionTest | , |
| CompactionInputError | |||
| ) |
Definition at line 306 of file corruption_test.cc.
References ASSERT_EQ, db_, kTableFile, rocksdb::DBImpl::MaxMemCompactionLevel(), NumberToString(), and rocksdb::DBImpl::TEST_FlushMemTable().

| rocksdb::TEST | ( | CacheTest | , |
| HeavyEntries | |||
| ) |
| rocksdb::TEST | ( | TtlTest | , |
| NoEffect | |||
| ) |
Definition at line 320 of file ttl_test.cc.
| rocksdb::TEST | ( | CorruptionTest | , |
| CompactionInputErrorParanoid | |||
| ) |
Definition at line 321 of file corruption_test.cc.
References ASSERT_EQ, ASSERT_TRUE, db_, kTableFile, rocksdb::DBImpl::NumberLevels(), rocksdb::Status::ok(), rocksdb::Options::paranoid_checks, rocksdb::DBImpl::Put(), rocksdb::DBImpl::TEST_FlushMemTable(), rocksdb::DBImpl::TEST_WaitForCompact(), rocksdb::crc32c::Value(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | CacheTest | , |
| NewId | |||
| ) |
| rocksdb::TEST | ( | RedisListsTest | , |
| SetTest | |||
| ) |
Definition at line 337 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PushLeft(), and rocksdb::RedisLists::Set().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| BIGRandomMixGetAppend | |||
| ) |
Definition at line 338 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, db, rocksdb::StringLists::Get(), OpenDb(), and rocksdb::Random::Uniform().

| rocksdb::TEST | ( | TtlTest | , |
| PresentDuringTTL | |||
| ) |
Definition at line 342 of file ttl_test.cc.
| rocksdb::TEST | ( | TtlTest | , |
| AbsentAfterTTL | |||
| ) |
Definition at line 352 of file ttl_test.cc.
| rocksdb::TEST | ( | CacheTest | , |
| BadEviction | |||
| ) |
Definition at line 357 of file cache_test.cc.
References ASSERT_TRUE, deleter(), NewLRUCache(), beast::IP::to_string(), and rocksdb::crc32c::Value().

| rocksdb::TEST | ( | CorruptionTest | , |
| UnrelatedKeys | |||
| ) |
Definition at line 358 of file corruption_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::Get(), kTableFile, rocksdb::DBImpl::Put(), rocksdb::DBImpl::TEST_FlushMemTable(), and rocksdb::crc32c::Value().

| rocksdb::TEST | ( | TtlTest | , |
| ResetTimestamp | |||
| ) |
Definition at line 363 of file ttl_test.cc.
| rocksdb::TEST | ( | EnvPosixTest | , |
| PosixRandomRWFileTest | |||
| ) |
Definition at line 371 of file env_test.cc.
References rocksdb::RandomRWFile::Allocate(), ASSERT_EQ, ASSERT_OK, rocksdb::RandomRWFile::Close(), rocksdb::Slice::compare(), env_, rocksdb::RandomRWFile::Fsync(), rocksdb::Env::NewRandomRWFile(), rocksdb::RandomRWFile::Read(), rocksdb::RandomRWFile::Sync(), rocksdb::test::TmpDir(), rocksdb::EnvOptions::use_mmap_reads, rocksdb::EnvOptions::use_mmap_writes, and rocksdb::RandomRWFile::Write().

| rocksdb::TEST | ( | SkipTest | , |
| Concurrent1 | |||
| ) |
Definition at line 373 of file skiplist_test.cc.
References RunConcurrent().

| rocksdb::TEST | ( | SkipTest | , |
| Concurrent2 | |||
| ) |
Definition at line 374 of file skiplist_test.cc.
References RunConcurrent().

| rocksdb::TEST | ( | TtlTest | , |
| IterPresentDuringTTL | |||
| ) |
Definition at line 375 of file ttl_test.cc.
| rocksdb::TEST | ( | SkipTest | , |
| Concurrent3 | |||
| ) |
Definition at line 375 of file skiplist_test.cc.
References RunConcurrent().

| rocksdb::TEST | ( | SkipTest | , |
| Concurrent4 | |||
| ) |
Definition at line 376 of file skiplist_test.cc.
References RunConcurrent().

| rocksdb::TEST | ( | SkipTest | , |
| Concurrent5 | |||
| ) |
Definition at line 377 of file skiplist_test.cc.
References RunConcurrent().

| rocksdb::TEST | ( | TtlTest | , |
| IterAbsentAfterTTL | |||
| ) |
Definition at line 385 of file ttl_test.cc.
| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| PersistentVariousKeys | |||
| ) |
Definition at line 390 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, db, rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | TtlTest | , |
| MultiOpenSamePresent | |||
| ) |
Definition at line 396 of file ttl_test.cc.
| rocksdb::TEST | ( | TtlTest | , |
| MultiOpenSameAbsent | |||
| ) |
Definition at line 410 of file ttl_test.cc.
| rocksdb::TEST | ( | TtlTest | , |
| MultiOpenDifferent | |||
| ) |
Definition at line 423 of file ttl_test.cc.
| rocksdb::TEST | ( | RedisListsTest | , |
| InsertPushSetTest | |||
| ) |
Definition at line 433 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::InsertAfter(), rocksdb::RedisLists::InsertBefore(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PushLeft(), rocksdb::RedisLists::PushRight(), rocksdb::RedisLists::Range(), and rocksdb::RedisLists::Set().

| rocksdb::TEST | ( | TtlTest | , |
| ReadOnlyPresentForever | |||
| ) |
Definition at line 436 of file ttl_test.cc.
| rocksdb::TEST | ( | TtlTest | , |
| WriteBatchTest | |||
| ) |
Definition at line 450 of file ttl_test.cc.
| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| PersistentFlushAndCompaction | |||
| ) |
Definition at line 457 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, ASSERT_TRUE, rocksdb::DBImpl::CompactRange(), db, rocksdb::DBImpl::Flush(), rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | TtlTest | , |
| CompactionFilter | |||
| ) |
Definition at line 469 of file ttl_test.cc.
| rocksdb::TEST | ( | TtlTest | , |
| KeyMayExist | |||
| ) |
Definition at line 489 of file ttl_test.cc.
| rocksdb::TEST | ( | RedisListsTest | , |
| TrimPopTest | |||
| ) |
Definition at line 525 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::InsertAfter(), rocksdb::RedisLists::InsertBefore(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PopLeft(), rocksdb::RedisLists::PopRight(), rocksdb::RedisLists::PushLeft(), rocksdb::RedisLists::PushRight(), and rocksdb::RedisLists::Trim().

| rocksdb::TEST | ( | StringAppendOperatorTest | , |
| SimpleTestNullDelimiter | |||
| ) |
Definition at line 553 of file stringappend_test.cc.
References rocksdb::StringLists::Append(), ASSERT_EQ, ASSERT_TRUE, db, rocksdb::StringLists::Get(), and OpenDb().

| rocksdb::TEST | ( | RedisListsTest | , |
| RemoveTest | |||
| ) |
Definition at line 595 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::InsertAfter(), rocksdb::RedisLists::InsertBefore(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PushLeft(), rocksdb::RedisLists::PushRight(), rocksdb::RedisLists::Remove(), and rocksdb::RedisLists::Trim().

| rocksdb::TEST | ( | DBTest | , |
| Empty | |||
| ) |
| rocksdb::TEST | ( | RedisListsTest | , |
| PersistenceMultiKeyTest | |||
| ) |
Definition at line 686 of file redis_lists_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::RedisLists::Index(), rocksdb::RedisLists::InsertAfter(), rocksdb::RedisLists::InsertBefore(), rocksdb::RedisLists::Length(), rocksdb::RedisLists::PopLeft(), rocksdb::RedisLists::PushLeft(), and rocksdb::RedisLists::PushRight().

| rocksdb::TEST | ( | DBTest | , |
| ReadWrite | |||
| ) |
Definition at line 691 of file db_test.cc.
| rocksdb::TEST | ( | SimpleTableDBTest | , |
| Empty | |||
| ) |
Definition at line 698 of file simple_table_db_test.cc.
References ASSERT_EQ, ASSERT_TRUE, and db_.
| rocksdb::TEST | ( | SimpleTableDBTest | , |
| ReadWrite | |||
| ) |
Definition at line 703 of file simple_table_db_test.cc.
| rocksdb::TEST | ( | DBTest | , |
| IndexAndFilterBlocksOfNewTableAddedToCache | |||
| ) |
Definition at line 704 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, BLOCK_CACHE_ADD, BLOCK_CACHE_DATA_MISS, BLOCK_CACHE_FILTER_HIT, BLOCK_CACHE_FILTER_MISS, BLOCK_CACHE_INDEX_MISS, rocksdb::Options::create_if_missing, CreateDBStatistics(), db_, rocksdb::Options::filter_policy, rocksdb::DBImpl::KeyMayExist(), NewBloomFilterPolicy(), rocksdb::DBImpl::Put(), rocksdb::Options::statistics, and value.

| rocksdb::TEST | ( | SimpleTableDBTest | , |
| Flush | |||
| ) |
Definition at line 712 of file simple_table_db_test.cc.
| rocksdb::TEST | ( | SimpleTableDBTest | , |
| Flush2 | |||
| ) |
| rocksdb::TEST | ( | Harness | , |
| SimpleEmptyKey | |||
| ) |
Definition at line 747 of file table_test.cc.
References GenerateArgList(), and rocksdb::test::RandomSeed().

| rocksdb::TEST | ( | SimpleTableDBTest | , |
| CompactionTrigger | |||
| ) |
Definition at line 755 of file simple_table_db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::level0_file_num_compaction_trigger, rocksdb::Options::max_mem_compaction_level, rocksdb::Options::num_levels, RandomString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | Harness | , |
| SimpleSingle | |||
| ) |
Definition at line 757 of file table_test.cc.
References GenerateArgList(), and rocksdb::test::RandomSeed().

| rocksdb::TEST | ( | DBTest | , |
| LevelLimitReopen | |||
| ) |
Definition at line 759 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Status::IsCorruption(), rocksdb::Options::max_bytes_for_level_multiplier_additional, rocksdb::Options::num_levels, rocksdb::Status::ToString(), and value.

| rocksdb::TEST | ( | Harness | , |
| SimpleMulti | |||
| ) |
Definition at line 767 of file table_test.cc.
References GenerateArgList(), and rocksdb::test::RandomSeed().

| rocksdb::TEST | ( | Harness | , |
| SimpleSpecialKey | |||
| ) |
Definition at line 779 of file table_test.cc.
References GenerateArgList(), and rocksdb::test::RandomSeed().

| rocksdb::TEST | ( | DBTest | , |
| Preallocation | |||
| ) |
Definition at line 782 of file db_test.cc.
References rocksdb::WritableFile::Append(), ASSERT_EQ, ASSERT_OK, dbname_, env_, rocksdb::WritableFile::GetPreallocationStatus(), rocksdb::Env::NewWritableFile(), and rocksdb::WritableFile::SetPreallocationBlockSize().

| rocksdb::TEST | ( | TableTest | , |
| BasicTableProperties | |||
| ) |
Definition at line 804 of file table_test.cc.
References rocksdb::BlockBuilder::Add(), rocksdb::Constructor::Add(), ASSERT_EQ, rocksdb::Options::block_restart_interval, BytewiseComparator(), rocksdb::Options::compression, rocksdb::BlockBuilder::Finish(), rocksdb::Constructor::Finish(), rocksdb::TableReader::GetTableProperties(), kBlockTrailerSize, kNoCompression, rocksdb::Slice::size(), and rocksdb::BlockBasedTableConstructor::table_reader().

| rocksdb::TEST | ( | DBTest | , |
| PutDeleteGet | |||
| ) |
Definition at line 812 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::Delete(), and rocksdb::DBImpl::Put().

| rocksdb::TEST | ( | DBTest | , |
| GetFromImmutableLayer | |||
| ) |
Definition at line 824 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::env, env_, and rocksdb::Options::write_buffer_size.
| rocksdb::TEST | ( | DBTest | , |
| GetFromVersions | |||
| ) |
| rocksdb::TEST | ( | TableTest | , |
| FilterPolicyNameProperties | |||
| ) |
Definition at line 848 of file table_test.cc.
References rocksdb::Constructor::Add(), ASSERT_EQ, BytewiseComparator(), rocksdb::Options::filter_policy, rocksdb::Constructor::Finish(), rocksdb::TableReader::GetTableProperties(), NewBloomFilterPolicy(), and rocksdb::BlockBasedTableConstructor::table_reader().

| rocksdb::TEST | ( | DBTest | , |
| GetSnapshot | |||
| ) |
Definition at line 850 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::GetSnapshot(), and rocksdb::DBImpl::ReleaseSnapshot().

| rocksdb::TEST | ( | DBTest | , |
| GetLevel0Ordering | |||
| ) |
| rocksdb::TEST | ( | TableTest | , |
| IndexSizeStat | |||
| ) |
Definition at line 873 of file table_test.cc.
References rocksdb::Constructor::Add(), ASSERT_GT, rocksdb::Options::block_restart_interval, BytewiseComparator(), rocksdb::Options::compression, rocksdb::Constructor::Finish(), rocksdb::TableReader::GetTableProperties(), rocksdb::TableProperties::index_size, kNoCompression, rocksdb::test::RandomSeed(), RandomString(), and rocksdb::BlockBasedTableConstructor::table_reader().

| rocksdb::TEST | ( | DBTest | , |
| GetOrderedByLevels | |||
| ) |
Definition at line 883 of file db_test.cc.
| rocksdb::TEST | ( | DBTest | , |
| GetPicksCorrectFile | |||
| ) |
| rocksdb::TEST | ( | TableTest | , |
| NumBlockStat | |||
| ) |
Definition at line 908 of file table_test.cc.
References rocksdb::Constructor::Add(), ASSERT_EQ, rocksdb::Options::block_restart_interval, rocksdb::Options::block_size, BytewiseComparator(), rocksdb::Options::compression, rocksdb::Constructor::Finish(), rocksdb::TableReader::GetTableProperties(), kNoCompression, rocksdb::TableProperties::num_data_blocks, rocksdb::test::RandomSeed(), RandomString(), and rocksdb::BlockBasedTableConstructor::table_reader().

| rocksdb::TEST | ( | DBTest | , |
| GetEncountersEmptyLevel | |||
| ) |
Definition at line 910 of file db_test.cc.
References ASSERT_EQ, ASSERT_LE, env_, and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | DBTest | , |
| KeyMayExist | |||
| ) |
Definition at line 952 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, BLOCK_CACHE_ADD, CreateDBStatistics(), db_, rocksdb::DBImpl::Delete(), rocksdb::Options::filter_policy, rocksdb::DBImpl::KeyMayExist(), NewBloomFilterPolicy(), NO_FILE_OPENS, rocksdb::DBImpl::Put(), rocksdb::Options::statistics, value, and value_found.

| rocksdb::TEST | ( | TableTest | , |
| BlockCacheTest | |||
| ) |
Definition at line 977 of file table_test.cc.
References rocksdb::Constructor::Add(), ASSERT_EQ, rocksdb::BlockCacheProperties::AssertEqual(), rocksdb::Options::block_cache, BytewiseComparator(), rocksdb::Options::create_if_missing, CreateDBStatistics(), rocksdb::Constructor::Finish(), rocksdb::Iterator::key(), rocksdb::BlockBasedTableConstructor::NewIterator(), NewLRUCache(), rocksdb::BlockBasedTableConstructor::Reopen(), rocksdb::Iterator::SeekToFirst(), rocksdb::Options::statistics, and rocksdb::Slice::ToString().

| rocksdb::TEST | ( | DBTest | , |
| NonBlockingIteration | |||
| ) |
Definition at line 1018 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, BLOCK_CACHE_ADD, CreateDBStatistics(), db_, kBlockCacheTier, rocksdb::DBImpl::NewIterator(), NO_FILE_OPENS, rocksdb::DBImpl::Put(), rocksdb::ReadOptions::read_tier, and rocksdb::Options::statistics.

| rocksdb::TEST | ( | DBTest | , |
| FilterDeletes | |||
| ) |
Definition at line 1084 of file db_test.cc.
References ASSERT_EQ, rocksdb::WriteBatch::Clear(), rocksdb::WriteBatch::Delete(), rocksdb::Options::filter_deletes, rocksdb::Options::filter_policy, NewBloomFilterPolicy(), and rocksdb::WriteBatch::Put().

| rocksdb::TEST | ( | TableTest | , |
| ApproximateOffsetOfPlain | |||
| ) |
Definition at line 1106 of file table_test.cc.
References rocksdb::Constructor::Add(), rocksdb::BlockBasedTableConstructor::ApproximateOffsetOf(), ASSERT_TRUE, Between(), rocksdb::Options::block_size, BytewiseComparator(), rocksdb::Options::compression, rocksdb::Constructor::Finish(), and kNoCompression.

| rocksdb::TEST | ( | DBTest | , |
| IterEmpty | |||
| ) |
Definition at line 1122 of file db_test.cc.
References ASSERT_EQ, db_, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Seek(), rocksdb::Iterator::SeekToFirst(), and rocksdb::Iterator::SeekToLast().

| rocksdb::TEST | ( | DBTest | , |
| IterSingle | |||
| ) |
Definition at line 1139 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Iterator::Prev(), rocksdb::Iterator::Seek(), rocksdb::Iterator::SeekToFirst(), and rocksdb::Iterator::SeekToLast().

| rocksdb::TEST | ( | TableTest | , |
| ApproximateOffsetOfCompressed | |||
| ) |
Definition at line 1159 of file table_test.cc.
References Do_Compression_Test(), kSnappyCompression, kZlibCompression, SnappyCompressionSupported(), and ZlibCompressionSupported().

| rocksdb::TEST | ( | DBTest | , |
| IterMulti | |||
| ) |
Definition at line 1179 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Iterator::Prev(), rocksdb::Iterator::Seek(), rocksdb::Iterator::SeekToFirst(), and rocksdb::Iterator::SeekToLast().

| rocksdb::TEST | ( | TableTest | , |
| BlockCacheLeak | |||
| ) |
Definition at line 1183 of file table_test.cc.
References rocksdb::Constructor::Add(), ASSERT_OK, ASSERT_TRUE, rocksdb::Options::block_cache, rocksdb::Options::block_size, BytewiseComparator(), rocksdb::Options::compression, rocksdb::Constructor::Finish(), kNoCompression, rocksdb::BlockBasedTableConstructor::NewIterator(), NewLRUCache(), rocksdb::BlockBasedTableConstructor::Reopen(), rocksdb::BlockBasedTableConstructor::table_reader(), and rocksdb::TableReader::TEST_KeyInCache().

| rocksdb::TEST | ( | Harness | , |
| Randomized | |||
| ) |
Definition at line 1221 of file table_test.cc.
References GenerateArgList(), rocksdb::test::RandomKey(), rocksdb::test::RandomSeed(), rocksdb::test::RandomString(), and rocksdb::Random::Skewed().

| rocksdb::TEST | ( | Harness | , |
| RandomizedLongDB | |||
| ) |
Definition at line 1242 of file table_test.cc.
References ASSERT_GT, ASSERT_TRUE, db, DB_TEST, kNoCompression, name, rocksdb::DBImpl::NumberLevels(), rocksdb::test::RandomKey(), rocksdb::test::RandomSeed(), rocksdb::test::RandomString(), rocksdb::Random::Skewed(), and value.

| rocksdb::TEST | ( | DBTest | , |
| IterReseek | |||
| ) |
Definition at line 1266 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::create_if_missing, CreateDBStatistics(), db_, rocksdb::Options::max_sequential_skip_in_iterations, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), NUMBER_OF_RESEEKS_IN_ITERATION, rocksdb::Iterator::Prev(), rocksdb::Iterator::SeekToFirst(), rocksdb::Iterator::SeekToLast(), and rocksdb::Options::statistics.

| rocksdb::TEST | ( | MemTableTest | , |
| Simple | |||
| ) |
Definition at line 1268 of file table_test.cc.
References ASSERT_TRUE, BytewiseComparator(), rocksdb::WriteBatchInternal::InsertInto(), rocksdb::Iterator::key(), rocksdb::Iterator::Next(), ripple::Resource::ok, rocksdb::WriteBatch::Put(), rocksdb::Iterator::SeekToFirst(), rocksdb::WriteBatchInternal::SetSequence(), rocksdb::Slice::ToString(), rocksdb::Iterator::Valid(), and rocksdb::Iterator::value().

| rocksdb::TEST | ( | DBTest | , |
| IterSmallAndLargeMix | |||
| ) |
Definition at line 1353 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Iterator::Prev(), rocksdb::Iterator::SeekToFirst(), and rocksdb::Iterator::SeekToLast().

| rocksdb::TEST | ( | DBTest | , |
| IterMultiWithDelete | |||
| ) |
Definition at line 1393 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, merge_operator, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Prev(), and rocksdb::Iterator::Seek().

| rocksdb::TEST | ( | DBTest | , |
| IterPrevMaxSkip | |||
| ) |
Definition at line 1413 of file db_test.cc.
References ASSERT_OK, db_, rocksdb::DBImpl::Delete(), and rocksdb::DBImpl::Put().

| rocksdb::TEST | ( | DBTest | , |
| IterWithSnapshot | |||
| ) |
Definition at line 1442 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db_, rocksdb::DBImpl::GetSnapshot(), merge_operator, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Iterator::Prev(), rocksdb::DBImpl::ReleaseSnapshot(), rocksdb::Iterator::Seek(), rocksdb::ReadOptions::snapshot, and rocksdb::Iterator::Valid().

| rocksdb::TEST | ( | DBTest | , |
| Recover | |||
| ) |
| rocksdb::TEST | ( | DBTest | , |
| RollLog | |||
| ) |
Definition at line 1502 of file db_test.cc.
References ASSERT_OK.
| rocksdb::TEST | ( | DBTest | , |
| WAL | |||
| ) |
Definition at line 1518 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, and rocksdb::WriteOptions::disableWAL.
| rocksdb::TEST | ( | DBTest | , |
| CheckLock | |||
| ) |
Definition at line 1552 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, and ripple::Resource::ok.
| rocksdb::TEST | ( | DBTest | , |
| FlushMultipleMemtable | |||
| ) |
Definition at line 1563 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::WriteOptions::disableWAL, rocksdb::Options::max_write_buffer_number, and rocksdb::Options::min_write_buffer_number_to_merge.
| rocksdb::TEST | ( | DBTest | , |
| NumImmutableMemTable | |||
| ) |
Definition at line 1581 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::WriteOptions::disableWAL, rocksdb::Options::max_write_buffer_number, rocksdb::Options::min_write_buffer_number_to_merge, and rocksdb::Options::write_buffer_size.
| rocksdb::TEST | ( | DBTest | , |
| FLUSH | |||
| ) |
Definition at line 1612 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, and rocksdb::WriteOptions::disableWAL.
| rocksdb::TEST | ( | DBTest | , |
| RecoveryWithEmptyLog | |||
| ) |
Definition at line 1648 of file db_test.cc.
| rocksdb::TEST | ( | DBTest | , |
| RecoverDuringMemtableCompaction | |||
| ) |
Definition at line 1662 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::env, env_, and rocksdb::Options::write_buffer_size.
| rocksdb::TEST | ( | DBTest | , |
| MinorCompactionsHappen | |||
| ) |
Definition at line 1683 of file db_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, and rocksdb::Options::write_buffer_size.
| rocksdb::TEST | ( | DBTest | , |
| ManifestRollOver | |||
| ) |
Definition at line 1710 of file db_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, and rocksdb::Options::max_manifest_file_size.
| rocksdb::TEST | ( | DBTest | , |
| IdentityAcrossRestarts | |||
| ) |
Definition at line 1736 of file db_test.cc.
References ASSERT_EQ, ASSERT_NE, ASSERT_OK, dbname_, rocksdb::Env::DeleteFile(), env_, IdentityFileName(), rocksdb::Env::NewSequentialFile(), rocksdb::SequentialFile::Read(), and rocksdb::Slice::ToString().

| rocksdb::TEST | ( | DBTest | , |
| RecoverWithLargeLog | |||
| ) |
Definition at line 1766 of file db_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, and rocksdb::Options::write_buffer_size.
| rocksdb::TEST | ( | DBTest | , |
| CompactionsGenerateMultipleFiles | |||
| ) |
Definition at line 1792 of file db_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, RandomString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| CompactionTrigger | |||
| ) |
Definition at line 1906 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::level0_file_num_compaction_trigger, rocksdb::Options::max_mem_compaction_level, rocksdb::Options::num_levels, RandomString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| UniversalCompactionTrigger | |||
| ) |
Definition at line 1941 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::compaction_style, kCompactionStyleUniversal, rocksdb::Options::level0_file_num_compaction_trigger, rocksdb::Options::num_levels, RandomString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| UniversalCompactionSizeAmplification | |||
| ) |
Definition at line 2074 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::compaction_options_universal, rocksdb::Options::compaction_style, kCompactionStyleUniversal, rocksdb::Options::level0_file_num_compaction_trigger, RandomString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| UniversalCompactionOptions | |||
| ) |
Definition at line 2113 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::compaction_options_universal, rocksdb::Options::compaction_style, rocksdb::CompactionOptionsUniversal::compression_size_percent, kCompactionStyleUniversal, rocksdb::Options::level0_file_num_compaction_trigger, rocksdb::Options::num_levels, RandomString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| ConvertCompactionStyle | |||
| ) |
Definition at line 2248 of file db_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, ASSERT_TRUE, rocksdb::Options::compaction_style, rocksdb::Status::IsInvalidArgument(), kCompactionStyleUniversal, rocksdb::Iterator::key(), rocksdb::Options::level0_file_num_compaction_trigger, rocksdb::Options::max_bytes_for_level_base, rocksdb::Options::max_bytes_for_level_multiplier, rocksdb::Iterator::Next(), rocksdb::Options::num_levels, RandomString(), rocksdb::Iterator::SeekToFirst(), rocksdb::Options::target_file_size_base, rocksdb::Options::target_file_size_multiplier, rocksdb::Slice::ToString(), rocksdb::Iterator::Valid(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| MinLevelToCompress1 | |||
| ) |
Definition at line 2408 of file db_test.cc.
References rocksdb::Options::compression_per_level, kNoCompression, MinLevelHelper(), MinLevelToCompress(), and rocksdb::Options::num_levels.

| rocksdb::TEST | ( | DBTest | , |
| MinLevelToCompress2 | |||
| ) |
Definition at line 2428 of file db_test.cc.
References rocksdb::Options::compression_per_level, kNoCompression, MinLevelHelper(), MinLevelToCompress(), and rocksdb::Options::num_levels.

| rocksdb::TEST | ( | DBTest | , |
| RepeatedWritesToSameKey | |||
| ) |
Definition at line 2448 of file db_test.cc.
References ASSERT_LE, rocksdb::Options::env, env_, RandomString(), value, and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| InPlaceUpdate | |||
| ) |
Definition at line 2469 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::create_if_missing, rocksdb::Options::env, env_, rocksdb::Options::inplace_update_support, rocksdb::Iterator::key(), kTypeValue, rocksdb::Iterator::Next(), rocksdb::Status::ok(), ParseInternalKey(), rocksdb::Iterator::SeekToFirst(), rocksdb::ParsedInternalKey::sequence, rocksdb::Iterator::status(), rocksdb::Iterator::Valid(), value, and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| CompactionFilter | |||
| ) |
Definition at line 2631 of file db_test.cc.
References ASSERT_EQ, ASSERT_NE, ASSERT_OK, cfilter_count, rocksdb::Options::compaction_filter_factory, rocksdb::Options::create_if_missing, db_, rocksdb::Iterator::key(), kTypeValue, rocksdb::Options::max_mem_compaction_level, rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Options::num_levels, ParseInternalKey(), rocksdb::Iterator::SeekToFirst(), rocksdb::ParsedInternalKey::sequence, rocksdb::Iterator::status(), rocksdb::Iterator::Valid(), and value.

| rocksdb::TEST | ( | DBTest | , |
| CompactionFilterWithValueChange | |||
| ) |
Definition at line 2769 of file db_test.cc.
References ASSERT_EQ, rocksdb::Options::compaction_filter_factory, rocksdb::Options::max_mem_compaction_level, NEW_VALUE, rocksdb::Options::num_levels, and value.
| rocksdb::TEST | ( | DBTest | , |
| SparseMerge | |||
| ) |
Definition at line 2819 of file db_test.cc.
References ASSERT_LE, rocksdb::Options::compression, kNoCompression, and value.
| rocksdb::TEST | ( | DBTest | , |
| ApproximateSizes | |||
| ) |
Definition at line 2872 of file db_test.cc.
References ASSERT_EQ, ASSERT_GT, ASSERT_OK, ASSERT_TRUE, Between(), rocksdb::Options::compression, kNoCompression, RandomString(), ripple::run(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| ApproximateSizes_MixOfSmallAndLarge | |||
| ) |
Definition at line 2922 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, Between(), rocksdb::Options::compression, kNoCompression, RandomString(), and ripple::run().

| rocksdb::TEST | ( | DBTest | , |
| IteratorPinsRef | |||
| ) |
Definition at line 2960 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db_, rocksdb::Iterator::key(), rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Iterator::SeekToFirst(), rocksdb::Slice::ToString(), rocksdb::Iterator::Valid(), and rocksdb::Iterator::value().

| rocksdb::TEST | ( | DBTest | , |
| Snapshot | |||
| ) |
Definition at line 2984 of file db_test.cc.
References ASSERT_EQ, db_, rocksdb::DBImpl::GetSnapshot(), and rocksdb::DBImpl::ReleaseSnapshot().

| rocksdb::TEST | ( | DBTest | , |
| HiddenValuesAreRemoved | |||
| ) |
Definition at line 3013 of file db_test.cc.
References ASSERT_EQ, ASSERT_GE, ASSERT_GT, ASSERT_OK, ASSERT_TRUE, Between(), db_, rocksdb::DBImpl::GetSnapshot(), RandomString(), and rocksdb::DBImpl::ReleaseSnapshot().

| rocksdb::TEST | ( | DBTest | , |
| CompactBetweenSnapshots | |||
| ) |
Definition at line 3044 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::DBImpl::GetSnapshot(), and rocksdb::DBImpl::ReleaseSnapshot().

| rocksdb::TEST | ( | DBTest | , |
| DeletionMarkers1 | |||
| ) |
| rocksdb::TEST | ( | DBTest | , |
| DeletionMarkers2 | |||
| ) |
| rocksdb::TEST | ( | DBTest | , |
| OverlapInLevel0 | |||
| ) |
| rocksdb::TEST | ( | DBTest | , |
| L0_CompactionBug_Issue44_a | |||
| ) |
Definition at line 3198 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, env_, and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | DBTest | , |
| L0_CompactionBug_Issue44_b | |||
| ) |
Definition at line 3217 of file db_test.cc.
References ASSERT_EQ, env_, and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | DBTest | , |
| ComparatorCheck | |||
| ) |
Definition at line 3245 of file db_test.cc.
References ASSERT_TRUE, BytewiseComparator(), rocksdb::Options::comparator, rocksdb::Comparator::Compare(), rocksdb::Comparator::FindShortestSeparator(), rocksdb::Comparator::FindShortSuccessor(), rocksdb::Status::ok(), and rocksdb::Status::ToString().

| rocksdb::TEST | ( | DBTest | , |
| CustomComparator | |||
| ) |
Definition at line 3271 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::Options::comparator, rocksdb::Options::create_if_missing, EscapeString(), rocksdb::Options::filter_policy, ripple::run(), rocksdb::Slice::size(), rocksdb::Slice::ToString(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| ManualCompaction | |||
| ) |
Definition at line 3329 of file db_test.cc.
References ASSERT_EQ, rocksdb::DBImpl::CompactRange(), and db_.

| rocksdb::TEST | ( | DBTest | , |
| DBOpen_Options | |||
| ) |
Definition at line 3363 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, rocksdb::Options::create_if_missing, db, dbname, DestroyDB(), rocksdb::Options::error_if_exists, rocksdb::DB::Open(), rocksdb::test::TmpDir(), and rocksdb::Status::ToString().

| rocksdb::TEST | ( | DBTest | , |
| DBOpen_Change_NumLevels | |||
| ) |
Definition at line 3402 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, rocksdb::DB::CompactRange(), rocksdb::Options::create_if_missing, db, dbname, DestroyDB(), rocksdb::Options::num_levels, rocksdb::DB::Open(), rocksdb::DB::Put(), rocksdb::test::TmpDir(), and rocksdb::Status::ToString().

| rocksdb::TEST | ( | DBTest | , |
| DestroyDBMetaDatabase | |||
| ) |
Definition at line 3425 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, rocksdb::Options::create_if_missing, db, dbname, DestroyDB(), MetaDatabaseName(), ripple::Resource::ok, rocksdb::DB::Open(), and rocksdb::test::TmpDir().

| rocksdb::TEST | ( | DBTest | , |
| NoSpace | |||
| ) |
Definition at line 3460 of file db_test.cc.
References ASSERT_EQ, ASSERT_GE, ASSERT_LT, ASSERT_OK, rocksdb::Options::env, and env_.
| rocksdb::TEST | ( | DBTest | , |
| NonWritableFileSystem | |||
| ) |
Definition at line 3485 of file db_test.cc.
References ASSERT_GT, ASSERT_OK, rocksdb::Options::env, env_, ripple::Resource::ok, rocksdb::Env::SleepForMicroseconds(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| ManifestWriteError | |||
| ) |
Definition at line 3506 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::env, env_, and rocksdb::port::AtomicPointer::Release_Store().

| rocksdb::TEST | ( | DBTest | , |
| PutFailsParanoid | |||
| ) |
Definition at line 3547 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, rocksdb::Options::create_if_missing, rocksdb::Options::env, env_, rocksdb::Options::error_if_exists, rocksdb::Status::ok(), and rocksdb::Options::paranoid_checks.

| rocksdb::TEST | ( | DBTest | , |
| FilesDeletedAfterCompaction | |||
| ) |
| rocksdb::TEST | ( | DBTest | , |
| BloomFilter | |||
| ) |
Definition at line 3603 of file db_test.cc.
References ASSERT_EQ, ASSERT_GE, ASSERT_LE, ASSERT_OK, rocksdb::Options::env, env_, rocksdb::Options::filter_policy, NewBloomFilterPolicy(), and rocksdb::Options::no_block_cache.

| rocksdb::TEST | ( | DBTest | , |
| SnapshotFiles | |||
| ) |
Definition at line 3651 of file db_test.cc.
References ASSERT_EQ, ASSERT_GE, ASSERT_GT, ASSERT_OK, ripple::compare(), rocksdb::Options::create_if_missing, dbname_, rocksdb::DB::DisableFileDeletions(), env_, rocksdb::DB::Get(), rocksdb::Env::GetFileSize(), kDescriptorFile, ripple::min(), rocksdb::Env::NewSequentialFile(), rocksdb::Env::NewWritableFile(), rocksdb::DB::Open(), ParseFileName(), RandomString(), rocksdb::SequentialFile::Read(), rocksdb::Slice::size(), and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| CompactOnFlush | |||
| ) |
Definition at line 3786 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, db_, rocksdb::Options::disable_auto_compactions, rocksdb::DBImpl::GetSnapshot(), rocksdb::Options::purge_redundant_kvs_while_flush, and rocksdb::DBImpl::ReleaseSnapshot().

| rocksdb::TEST | ( | DBTest | , |
| WALArchivalTtl | |||
| ) |
Definition at line 3888 of file db_test.cc.
References ArchivalDirectory(), ASSERT_OK, ASSERT_TRUE, rocksdb::Options::create_if_missing, dbname_, env_, ListLogFiles(), rocksdb::Env::SleepForMicroseconds(), and rocksdb::Options::WAL_ttl_seconds.

| rocksdb::TEST | ( | DBTest | , |
| WALArchivalSizeLimit | |||
| ) |
Definition at line 3951 of file db_test.cc.
References ArchivalDirectory(), ASSERT_OK, ASSERT_TRUE, rocksdb::Options::create_if_missing, dbname_, env_, GetLogDirSize(), ListLogFiles(), rocksdb::Env::SleepForMicroseconds(), rocksdb::Options::WAL_size_limit_MB, and rocksdb::Options::WAL_ttl_seconds.

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIterator | |||
| ) |
Definition at line 4019 of file db_test.cc.
References ASSERT_EQ, env_, ExpectRecords(), and rocksdb::Env::SleepForMicroseconds().

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIteratorMoveOverZeroFiles | |||
| ) |
Definition at line 4044 of file db_test.cc.
References ExpectRecords().

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIteratorJustEmptyFile | |||
| ) |
Definition at line 4083 of file db_test.cc.
References ASSERT_TRUE, and rocksdb::TransactionLogIterator::Valid().

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIteratorCheckAfterRestart | |||
| ) |
Definition at line 4094 of file db_test.cc.
References ExpectRecords().

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIteratorCorruptedLog | |||
| ) |
Definition at line 4107 of file db_test.cc.
References ASSERT_EQ, ASSERT_LT, ASSERT_OK, dbname_, ExpectRecords(), ReadRecords(), and beast::IP::to_string().

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIteratorBatchOperations | |||
| ) |
Definition at line 4136 of file db_test.cc.
References rocksdb::WriteBatch::Delete(), ExpectRecords(), and rocksdb::WriteBatch::Put().

| rocksdb::TEST | ( | DBTest | , |
| TransactionLogIteratorBlobs | |||
| ) |
Definition at line 4154 of file db_test.cc.
References ASSERT_EQ, rocksdb::WriteBatch::Delete(), rocksdb::WriteBatch::Put(), rocksdb::WriteBatch::PutLogData(), seen, rocksdb::Slice::size(), beast::IP::to_string(), rocksdb::Slice::ToString(), and value.

| rocksdb::TEST | ( | DBTest | , |
| ReadCompaction | |||
| ) |
Definition at line 4196 of file db_test.cc.
References ASSERT_EQ, ASSERT_NE, ASSERT_OK, ASSERT_TRUE, rocksdb::Options::block_size, rocksdb::Options::create_if_missing, env_, rocksdb::Options::filter_policy, rocksdb::Options::max_open_files, rocksdb::Options::no_block_cache, rocksdb::Env::SleepForMicroseconds(), rocksdb::Options::target_file_size_base, value, and rocksdb::Options::write_buffer_size.

| rocksdb::TEST | ( | DBTest | , |
| MultiThreaded | |||
| ) |
Definition at line 4324 of file db_test.cc.
References env_, id, rocksdb::Env::SleepForMicroseconds(), and rocksdb::Env::StartThread().

| rocksdb::TEST | ( | DBTest | , |
| Randomized | |||
| ) |
Definition at line 4589 of file db_test.cc.
References ASSERT_OK, ASSERT_TRUE, CompareIterators(), db_, rocksdb::DBImpl::Delete(), rocksdb::WriteBatch::Delete(), rocksdb::ModelDB::Delete(), rocksdb::DBImpl::GetSnapshot(), rocksdb::ModelDB::GetSnapshot(), rocksdb::Random::OneIn(), rocksdb::DBImpl::Put(), rocksdb::WriteBatch::Put(), rocksdb::ModelDB::Put(), RandomKey(), rocksdb::test::RandomSeed(), RandomString(), rocksdb::DBImpl::ReleaseSnapshot(), rocksdb::ModelDB::ReleaseSnapshot(), rocksdb::Random::Uniform(), rocksdb::DBImpl::Write(), and rocksdb::ModelDB::Write().

| rocksdb::TEST | ( | DBTest | , |
| MultiGetSimple | |||
| ) |
Definition at line 4661 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, ASSERT_TRUE, db_, rocksdb::DBImpl::Delete(), rocksdb::DBImpl::MultiGet(), and rocksdb::DBImpl::Put().

| rocksdb::TEST | ( | DBTest | , |
| MultiGetEmpty | |||
| ) |
Definition at line 4697 of file db_test.cc.
References ASSERT_EQ, ASSERT_TRUE, db_, and rocksdb::DBImpl::MultiGet().

| rocksdb::TEST | ( | DBTest | , |
| PrefixScan | |||
| ) |
Definition at line 4770 of file db_test.cc.
References ASSERT_EQ, ASSERT_OK, rocksdb::Options::create_if_missing, db_, rocksdb::Options::disable_auto_compactions, rocksdb::Options::disable_seek_compaction, rocksdb::Options::env, env_, rocksdb::Options::filter_policy, rocksdb::Iterator::key(), rocksdb::Options::max_background_compactions, rocksdb::Options::memtable_factory, NewBloomFilterPolicy(), NewFixedPrefixTransform(), NewHashSkipListRepFactory(), rocksdb::DBImpl::NewIterator(), rocksdb::Iterator::Next(), rocksdb::Options::no_block_cache, std::chrono::prefix, rocksdb::ReadOptions::prefix, rocksdb::Options::prefix_extractor, PrefixScanInit(), rocksdb::Iterator::SeekToFirst(), rocksdb::Slice::starts_with(), rocksdb::Iterator::status(), rocksdb::Iterator::Valid(), and rocksdb::Options::whole_key_filtering.

|
static |
Definition at line 15 of file version_edit_test.cc.
References ASSERT_EQ, ASSERT_TRUE, rocksdb::VersionEdit::DecodeFrom(), rocksdb::VersionEdit::EncodeTo(), rocksdb::Status::ok(), and rocksdb::Status::ToString().
Referenced by TEST().


|
static |
Definition at line 36 of file dbformat_test.cc.
References ASSERT_EQ, ASSERT_TRUE, IKey(), Json::in(), kTypeValue, ParseInternalKey(), rocksdb::ParsedInternalKey::sequence, rocksdb::Slice::ToString(), rocksdb::ParsedInternalKey::type, and rocksdb::ParsedInternalKey::user_key.
Referenced by rocksdb::TestKeyComparator::Compare(), and TEST().


|
inline |
Definition at line 39 of file prefix_test.cc.
Referenced by TEST().

|
static |
Definition at line 83 of file env_test.cc.
References arg, rocksdb::port::Mutex::Lock(), rocksdb::State::mu, rocksdb::State::num_running, rocksdb::port::Mutex::Unlock(), and rocksdb::State::val.
Referenced by TEST().


|
static |
Definition at line 31 of file version_set.cc.
Referenced by rocksdb::VersionSet::Finalize(), rocksdb::Compaction::IsTrivialMove(), rocksdb::VersionSet::MaxNextLevelOverlappingBytes(), rocksdb::VersionSet::NumLevelBytes(), rocksdb::VersionSet::PickCompactionUniversalReadAmp(), rocksdb::Version::PickLevelForMemTableOutput(), and rocksdb::VersionSet::SetupOtherInputs().

| Status rocksdb::UncompressBlockContents | ( | const char * | data, |
| size_t | n, | ||
| BlockContents * | result | ||
| ) |
Definition at line 151 of file format.cc.
References rocksdb::port::BZip2_Uncompress(), rocksdb::BlockContents::cachable, rocksdb::BlockContents::compression_type, rocksdb::Status::Corruption(), rocksdb::BlockContents::data, rocksdb::BlockContents::heap_allocated, kBZip2Compression, kNoCompression, kSnappyCompression, kZlibCompression, rocksdb::Status::OK(), rocksdb::port::Snappy_GetUncompressedLength(), rocksdb::port::Snappy_Uncompress(), and rocksdb::port::Zlib_Uncompress().
Referenced by rocksdb::BlockBasedTable::BlockReader(), and ReadBlockContents().


|
static |
Definition at line 26 of file table_cache.cc.
References rocksdb::Cache::Release().
Referenced by rocksdb::TableCache::NewIterator().


|
inline |
Definition at line 171 of file dbformat.h.
References EncodeFixed64().
Referenced by rocksdb::DBImpl::DoCompactionWork(), and rocksdb::MergeHelper::MergeUntil().


| int rocksdb::VarintLength | ( | uint64_t | v) |
Definition at line 122 of file coding.cc.
Referenced by rocksdb::MemTable::Add(), rocksdb::BlockBuilder::EstimateSizeAfterKV(), TEST(), and rocksdb::MemTable::Update().

| rocksdb::verbose_ | ( | false | ) |
| Status rocksdb::WriteStringToFile | ( | Env * | env, |
| const Slice & | data, | ||
| const std::string & | fname | ||
| ) |
Definition at line 82 of file env.cc.
References DoWriteStringToFile().
Referenced by rocksdb::CorruptionTest::Corrupt().


| Status rocksdb::WriteStringToFileSync | ( | Env * | env, |
| const Slice & | data, | ||
| const std::string & | fname | ||
| ) |
Definition at line 87 of file env.cc.
References DoWriteStringToFile().
Referenced by SetCurrentFile(), and SetIdentityFile().


|
static |
Definition at line 40 of file db_test.cc.
References rocksdb::Slice::data(), Json::in(), rocksdb::Slice::size(), and rocksdb::port::Zlib_Compress().
Referenced by GenerateArgList(), MinLevelToCompress(), and TEST().


|
static |
Definition at line 460 of file table_test.cc.
References rocksdb::Slice::data(), Json::in(), rocksdb::Slice::size(), and rocksdb::port::Zlib_Compress().

|
static |
Definition at line 108 of file options.cc.
Referenced by rocksdb::Options::Dump().
|
static |
Definition at line 41 of file filename.h.
Referenced by ArchivalDirectory(), ArchivedLogFileName(), and ParseFileName().
|
static |
Definition at line 75 of file comparator.cc.
Referenced by BytewiseComparator(), and InitModule().
|
static |
Definition at line 2536 of file db_test.cc.
Referenced by rocksdb::KeepFilter::Filter(), rocksdb::DeleteFilter::Filter(), and TEST().
| rocksdb::else |
Definition at line 1362 of file ldb_cmd.cc.
| const std::vector<std::pair<Histograms, std::string> > rocksdb::HistogramsNameMap |
Definition at line 189 of file statistics.h.
Referenced by RecordTick(), SetTickerCount(), and rocksdb::Statistics::ToString().
|
static |
Definition at line 88 of file format.h.
Referenced by rocksdb::BlockBasedTableBuilder::Finish(), ReadBlockContents(), TEST(), and rocksdb::BlockBasedTableBuilder::WriteRawBlock().
| const std::string rocksdb::kDbName = "/tmp/mergetestdb" |
Definition at line 26 of file stringappend_test.cc.
Referenced by OpenDb(), rocksdb::PrefixTest::OpenDb(), OpenNormalDb(), OpenTtlDb(), ProfileKeyComparison(), rocksdb::StringAppendOperatorTest::StringAppendOperatorTest(), and TEST().
| const int rocksdb::kDebugLogChunkSize = 128 * 1024 |
Definition at line 28 of file posix_logger.h.
Referenced by rocksdb::PosixLogger::Logv().
|
static |
Definition at line 22 of file env_test.cc.
Referenced by TEST().
|
static |
Definition at line 22 of file filter_block.cc.
Referenced by rocksdb::FilterBlockBuilder::StartBlock().
|
static |
Definition at line 21 of file filter_block.cc.
Referenced by rocksdb::FilterBlockBuilder::Finish().
|
static |
Definition at line 37 of file write_batch.cc.
Referenced by rocksdb::WriteBatchInternal::Append(), rocksdb::WriteBatch::Clear(), rocksdb::WriteBatch::Iterate(), and rocksdb::WriteBatchInternal::SetContents().
|
static |
Definition at line 26 of file db.h.
Referenced by rocksdb::DBImpl::LogDBDeployStats(), rocksdb::StressTest::PrintEnv(), and rocksdb::Benchmark::PrintEnvironment().
| const size_t rocksdb::kMaxCacheKeyPrefixSize = kMaxVarint64Length*3+1 |
Definition at line 35 of file block_based_table_reader.cc.
|
static |
Definition at line 44 of file dbformat.h.
Referenced by rocksdb::DBTest::AllEntriesFor(), rocksdb::InternalDumpCommand::DoCommand(), rocksdb::DBImpl::DoCompactionWork(), rocksdb::InternalKeyComparator::FindShortestSeparator(), rocksdb::InternalKeyComparator::FindShortSuccessor(), rocksdb::DBImpl::GetApproximateSizes(), PackSequenceAndType(), rocksdb::Version::PickLevelForMemTableOutput(), rocksdb::SstFileReader::ReadSequential(), rocksdb::KeyConvertingIterator::Seek(), SomeFileOverlapsRange(), TEST(), and rocksdb::DBImpl::TEST_CompactRange().
| const unsigned int rocksdb::kMaxVarint64Length = 10 |
Definition at line 25 of file coding.h.
Referenced by rocksdb::BlockBasedTable::BlockReader(), rocksdb::BlockBasedTable::GetBlock(), and rocksdb::BlockBasedTable::GetFilter().
|
static |
Definition at line 27 of file db.h.
Referenced by rocksdb::DBImpl::LogDBDeployStats(), rocksdb::StressTest::PrintEnv(), and rocksdb::Benchmark::PrintEnvironment().
|
static |
Definition at line 85 of file format.h.
Referenced by rocksdb::Footer::DecodeFrom(), and rocksdb::Footer::EncodeTo().
|
static |
Definition at line 30 of file corruption_test.cc.
Referenced by TEST(), and rocksdb::CorruptionTest::Value().
|
static |
Definition at line 40 of file dbformat.h.
Referenced by rocksdb::InternalDumpCommand::DoCommand(), rocksdb::InternalKeyComparator::FindShortestSeparator(), rocksdb::InternalKeyComparator::FindShortSuccessor(), rocksdb::DBImpl::GetApproximateSizes(), rocksdb::LookupKey::LookupKey(), PackSequenceAndType(), ParseInternalKey(), rocksdb::Version::PickLevelForMemTableOutput(), rocksdb::SstFileReader::ReadSequential(), SomeFileOverlapsRange(), TEST(), and rocksdb::DBImpl::TEST_CompactRange().
|
static |
Definition at line 18 of file bloom_test.cc.
Referenced by rocksdb::BloomTest::Build(), TEST(), and rocksdb::Harness::TestRandomAccess().
|
static |
Definition at line 2537 of file db_test.cc.
Referenced by rocksdb::ChangeFilter::Filter(), and TEST().
|
static |
Definition at line 213 of file env_hdfs.h.
Referenced by rocksdb::HdfsEnv::CreateDir(), rocksdb::HdfsEnv::CreateDirIfMissing(), rocksdb::HdfsEnv::DeleteDir(), rocksdb::HdfsEnv::DeleteFile(), rocksdb::HdfsEnv::GetAbsolutePath(), rocksdb::HdfsEnv::GetChildren(), rocksdb::HdfsEnv::GetCurrentTime(), rocksdb::HdfsEnv::GetFileModificationTime(), rocksdb::HdfsEnv::GetFileSize(), rocksdb::HdfsEnv::GetHostName(), rocksdb::HdfsEnv::GetTestDirectory(), rocksdb::HdfsEnv::LockFile(), rocksdb::HdfsEnv::NewLogger(), rocksdb::HdfsEnv::NewRandomAccessFile(), rocksdb::HdfsEnv::NewRandomRWFile(), rocksdb::HdfsEnv::NewWritableFile(), rocksdb::HdfsEnv::RenameFile(), and rocksdb::HdfsEnv::UnlockFile().
|
static |
Definition at line 74 of file comparator.cc.
Referenced by BytewiseComparator(), sqlite3VdbeExec(), and whereLoopAddOr().
| __thread PerfContext rocksdb::perf_context |
Definition at line 28 of file perf_context.cc.
Referenced by rocksdb::BlockBasedTable::BlockReader(), rocksdb::InternalKeyComparator::Compare(), ProfileKeyComparison(), ReadBlockContents(), TEST(), and rocksdb::DBImpl::Write().
| enum PerfLevel rocksdb::perf_level = kEnableCount |
Definition at line 11 of file perf_context.cc.
Referenced by BumpPerfCount(), BumpPerfTime(), SetPerfLevel(), and StartPerfTimer().
|
static |
Definition at line 74 of file table_test.cc.
Referenced by Increment(), and rocksdb::Harness::Init().
| const std::vector<std::pair<Tickers, std::string> > rocksdb::TickersNameMap |
Definition at line 117 of file statistics.h.
Referenced by RecordTick(), SetTickerCount(), and rocksdb::Statistics::ToString().